Questions tagged [dac]

Questions utilizing the DAC tag are expected to relate to some aspect of Microsoft Data Tier Applications or DAC. Questions can include the DAC framework or DACfx, schema scripts from DACPAC, and combined data/schema scripts BACPAC. For questions about digital-analog converters, use [digital-analog-converter].

A DAC is a self-contained unit of deployment that enables data-tier developers and DBAs to package SQL Server objects, including database and instance objects, into a single entity called DAC package. Developers can build a DAC package using the Data-tier Application project system in Visual Studio, whereas SQL Server Management Studio (SSMS) users can extract a DAC and generate a DAC package file for an existing database.

A DAC package can be deployed to an instance of SQL Server to create a new DAC instance. The DAC deployment installs a new database on the instance, creates the database objects, and creates the logins associated with the users of the database. If a previous version of the DAC is already available, the DAC package can be used to upgrade the existing DAC instance to a newer version.

Questions utilizing the DAC tag are expected to relate to some aspect of Microsoft Data Tier Applications or DAC. Questions might also include related subjects such as the DAC framework or DACfx, as well as schema scripts known as DACPAC, and combined data/schema scripts BACPAC.

178 questions
0
votes
1 answer

mbed generate chirp singal

I am using LPCXpresso1549 to generate chirp signal with frequency between 35000 Hz and 45000 Hz. First off, I generate DAC chirp samples on matlab, and store them in const uint16_t chirpData[]. The samples frequency is 96000 Hz, therefore 96001…
Thang Dinh
  • 87
  • 2
  • 9
0
votes
2 answers

REST API: Operation is not valid due to the current state of the object

I am having issues accessing data from a DAC that has any amount of customization with it. I have a DAC with a few more complicated modifications, so I will start with the simple one. I have modified the External Reference field of SO.SOOrder. This…
Aaron St Clair
  • 128
  • 2
  • 9
0
votes
1 answer

SelectedCustomerLocation has not been found in the list of auto-initialized caches

Follow-up question from my previous question Make a Field Mandatory on the Graph Level. After applying the answer from my previous question by removing the underscore (_) from my TableColumn, it is obvious that the Customer Locations screen is now…
Aaron St Clair
  • 128
  • 2
  • 9
0
votes
1 answer

Make a Field Mandatory on the Graph Level

Newbie to Acumatica here. I've performed a small amount of customization to our system, and am now diving into adding custom data fields. My goal is to synchronize hardware shipment information from Acumatica into our legacy (outdated and…
Aaron St Clair
  • 128
  • 2
  • 9
0
votes
2 answers

Using DacFX how do I comment out a statement in a TsqlFragment/TSqlScript

If I have a TqlFragment or TsqlScript with a set of statements, how do I comment out a specific statement using DacFX? There is no CommentStatement or anything like that. How do I replace that statement in the syntax tree with a commented version of…
SpaceGhost440
  • 460
  • 4
  • 17
0
votes
1 answer

DacFX\SDDT - Disable Trigger operation inverted

I have a table with an update trigger in it that must be updated. The text of the update needs changed and the trigger must be left disabled. For some reason when I run a Dac Deploy operation the software OMITS the disabling of the trigger in the…
user5855178
  • 567
  • 1
  • 7
  • 17
0
votes
1 answer

SSDT: How to configure SchemaCompare Object settings in code

How to edit the SchemaCompare Settings in the SchemaComparison object? $SchemaComparison = [SchemaComparison]::new( $SourceEndPoint, $TargetEndPoint ) $SchemaComparison.Options = $DeployOptions I am particularly looking to Remove Database options,…
0
votes
0 answers

Write rate of DAC MCP4725

I have a buffer which contains 16000 PCM samples of 8Khz 8-bit mono. I am trying to play it using 12 bit MCP4725 DAC. I have tried using micros() to control the write interval for the DAC. Here's my code - uint8_t soundData[16000] = {…
Ashish K
  • 905
  • 10
  • 27
0
votes
1 answer

DAC stuck waiting for installer to process

I'm new here, so hi! So basically, I'm trying to convert my game to an APPX via the DAC. It's a single (with app assets folder, etc) non-installer .exe file. When I go through the conversion steps, everything works up until the Creation of an…
0
votes
2 answers

How to operate DAC at update speed of 1MSPS?

This is my code for DAC using DMA. I want to generate a triangular wave of frequency 8kHz with DAC operating at update rate of 1MSPS. I am using CUBEMX and system work bench.I am using timer trigger for DAC. I am working on stm32L476 discovery…
user8398475
  • 61
  • 2
  • 7
0
votes
0 answers

Is interrupt jitter causing the annoying wobble in audio using the mcu's dac?

I had a assignment for college where we needed to play a precompiled wav as integer array through the PWM and DAC. Now, I wanted more of a challenge, so I went out of my way and created a audio dac over usb using the micro controller in question:…
0
votes
2 answers

DacFx ignores Cmd Variables: DefaultDataPath & DefaultLogPath

I'm using DacFX in a custom installer. I am trying to override the default data and log file locations by passing in the Cmd Variables DefaultDataPath & DefaultLogPath but the database's files are still getting created in the default locations. This…
webwires
  • 2,572
  • 3
  • 26
  • 44
0
votes
1 answer

Get sql data type fom column c#

I'm using Microsoft.SqlServer.Dac.Compare to compare two database and create a custom script. My problem is to get the sql data type of the column from the object TsqlObject. I can acess at lot proprerties from the column except the sql data type.
fmalh3iro
  • 384
  • 2
  • 7
0
votes
0 answers

Arduino UNO audio output with R2R DAC

I'm trying to implement audio output using R2R 8bit DAC and Arduino UNO. This is my hardware: https://i.stack.imgur.com/WeNPf.jpg This is the sound i want to hear: http://vocaroo.com/i/s0VDwBBkQRdc This is a wav file, 16Khz, mono, 8 bit pcm. I used…
tomerJK
  • 39
  • 7
0
votes
1 answer

DacFX: Ignore non Columns in a ColumnReferenceExpression visitor

When using a visitor scanning for ColumnReferenceExpression's in a TSqlFragment there are some things that get picked up as columns that truly are not. For example in this sql: select Age, FirstName, LastName, DATEADD(year, Age, getdate()) from…
SpaceGhost440
  • 460
  • 4
  • 17