183 questions
-1
votes
0
answers
11
views
Global Search Not workings [closed]
I have a custom DAC (PseduoNames) that is displayed on a grid for the Vendors Screen.
Below is my DAC's NoteID field that I am attempting to use for my Global Search.
I have re-built the full text ...
0
votes
0
answers
21
views
DAC and DMA Not Outputting on PA4 on STM32L432KC
(my code is below)
I am trying to output an analog wave out of PA4 on the STM32L4 MCU, using DMA and a DAC. Ultimately, I will pass in audio data into the MCU through I2S and use DMA and the DAC to ...
1
vote
1
answer
37
views
Outputting a Triangular Waveform from a DAC Output Pin at a rate of 77khz on an stm board
I am currently working on an stmG474-re development board and aiming to use dac1 channel 2 to output a triangular waveform at a frequency of 77khz with the high resolution timer but struggling to ...
0
votes
1
answer
26
views
DacDeploy ScriptDatabaseOptions option is ignored during deployment
I have written a tool to update multiple databases as part of our DEVOPS CI/CD pipeline. This tool works without issue.
We are migrating host platforms for our SaaS product, and as part of this, I ...
0
votes
0
answers
40
views
Override DAC Formula on CROpportunityProducts
I'm trying to add a custom formula so that sometimes (based on a custom field) the Ext Price on the Opportunity details does not update. I can write the formula to override, but in some cases I want ...
0
votes
1
answer
35
views
How to create a for loop program that can change middle values flexibly?
I am a beginner. Just yesterday, I asked about how to create a flexible signal output. I found an answer and received a lot of input as well. My solution was very simple, using just one for loop, ...
0
votes
1
answer
270
views
orange pi lite pcm5102 i2s
Good people, please tell me how to connect pcm5102 to orange pi. I'm trying to connect https://www.ozon.ru/product/i2s-interfeys-pcm5102-dac-decoder-gy-pcm5102-i2s-modul-dlya-raspberry-phat-867322416/ ...
0
votes
1
answer
53
views
Acumatica customization that copies the UDF from sales order to shipment and to the invoice
I am looking for an extension that allows the system to copy user-defined fields from sales order to shipment when I create a shipment and from the shipment to invoice when I create an invoice
I have ...
0
votes
0
answers
62
views
nidaqmx read ADC and write to DAC continuously
I'm trying to read from an ADC when I hold PTT and hear it live on the DAC,
I am facing delay issues when writing to the DAC, it sounds like the first chunk of samples is being repeated over and over ...
0
votes
0
answers
106
views
How to achieve a gradual change in frequencies for a sweep (chirp) signal on STM32F4?
I am generating a sweep signal (a sine wave whose frequency increases over time) on STM32F4 Discovery board by using a look-up table and changing the Prescaler value of TIM2. Unfortunately, the ...
0
votes
1
answer
166
views
Using SqlPackage .NET 6 edition. How to specify Data/Log file paths?
I am forced to use the .Net 6 version of SqlPackage.exe to import a bacpac file.
I have looked over the documentation here https://learn.microsoft.com/en-us/sql/tools/sqlpackage/sqlpackage-import?view=...
0
votes
1
answer
149
views
MCP4725 returns HAL_BUSY after first loop
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
****************...
0
votes
1
answer
262
views
ADC and DAC synchronizing
I have an array of 256 elements that I want to set the DAC to:
HAL_DAC_Start_DMA(&hdac, DAC_CHANNEL_2, (uint32_t *)array, 256, DAC_ALIGN_12B_R);
DMA is triggered by TIM2, 256 timer cycles take ...
0
votes
1
answer
45
views
Grid filter on inherited projection DAC
I created an inherited projection and it's working fine but for some reason I cannot use the grid filter options.
I can sort but I can't filter. When I filter I get the message "The multi-part ...
0
votes
1
answer
437
views
Devicetree overlay for STM32 DAC using Zephyr
I'm trying to use the DAC on PA4 of the STM32F4 Discovery board with Zephyr.
In order to do that, I have created the following dtoverlay file. I have tried a handful of different overlay ...
0
votes
0
answers
1k
views
How to adjust volume balance on a USB audio device when it doesn't have that option?
The device in question is a Topping G5, but the issue happens with many USB devices on Windows that have their own inbuilt DAC, but not all. For example my Aune T1 gives me individual channel control ...
0
votes
1
answer
317
views
dacpac installation failed with Unable to reconnect to database: Execution Timeout Expired
when publishing a dacpac using DacServices.Deploy in C#, getting timeout error.
Code recently migrated to .NET core. We're publishing into a new SQL Server 2022 database and this is first time we are ...
1
vote
0
answers
153
views
STM32G474RE TIMER - DMA - DAC - Lookup table
I'm using an STM32G474RE board and experimenting using a timer as an interrupt to call the DMA controller - which I think indexes into an array which holds values for my Sine wave lookup table.
I have ...
0
votes
0
answers
361
views
Using STM32 FMC HAL driver with parallel DAC
Im trying to generate sinusoidal signal with STM32f767 and DAC8412. DAC have 12 bit data bus and 2 bit address to select one of the four analog outputs. I've configuried FMC in CubeIDE for a SRAM ...
0
votes
1
answer
469
views
How to generate Sine Wave on top of Triangular Wave using the DAC with DMA of STM32G4
I have a STM32G4 nucleo board. I would like to generate a summation waveform consisting of triangular wave (~1Hz) and sine wave (500Hz) using the DAC and DMA on STM32G4.
Is it possible to get the ...
0
votes
0
answers
80
views
C# backup of datatier database works fine in debug environment, but exceptions occur after release
I now have the following code to backup the database
public class SqlServerBacpac
{
public static void Startup(ServerConfigOption option)
{
var connectionString = SqlClientHelper....
0
votes
0
answers
78
views
Is it possible to change the Column Heading of the 'Note Text' field in a grid
My client wants to see the Notes in a Grid column.
I can add the Note Text field of a record to a data grid - but our customer wants the column heading to read 'Internal Comment' instead of 'Note Text'...
0
votes
1
answer
343
views
SQL Server DacFx to wrap 'DROP CONSTRAINT into 'IF EXISTS'
I use DacFx to deploy SQL Server DB Version1:
CREATE TABLE [dbo].[Person]
(
[ID] [int] NOT NULL,
[FirstName] [nvarchar](100) NOT NULL,
[LastName] [nvarchar](100) NOT NULL
CONSTRAINT [...
0
votes
1
answer
388
views
What is the difference between a HAL_DAC_Stop_DMA vs a HAL_DAC_Stop?
I am running a DMA transfer through the DAC of an stmf303re nucleo, and was wondering if there was a difference between the HAL_DAC_Stop_DMA vs a HAL_DAC_Stop? I ask this because earlier on in my code ...
0
votes
0
answers
402
views
16 bit to 12 bit conversion between microcontroller and dac
#include "mbed.h"
DigitalOut gpo(PTD7);
AnalogOut Aout(PTE30);
float x;
unsigned int i,j;
int main() {
x=0;
i=0;
while(1) {
gpo=i & 1;
x=16*2047.0*(1+sin(2*3.142*i/...
1
vote
1
answer
1k
views
STM32F4 Timer Triggered DMA SPI – NSS Problem
I have a STM32F417IG microcontroller an external 16bit-DAC (TI DAC81404) that is supposed to generate a Signal with a sampling rate of 32kHz. The communication via SPI should not involve any CPU ...
2
votes
1
answer
309
views
Acumatica Delete from Graph
I would like to delete a record from a graph, I can easily add one, but what is the syntax for deleting one with filter on Immatriculation field :
Example do add
ZVEHICULEGRAPH graph = PXGraph....
0
votes
1
answer
150
views
Only hear noise of audio out of DAC
I have been trying to hear the real time audio I get from the ADC into the DAC and listen to it through the headphones I connected. I am using a STM32G01CE-EV board, but when I try to listen to the ...
3
votes
1
answer
1k
views
DacFx and Custom DeploymentContributor (AgileSqlClub.DeploymentFilterContributor)
I've tried at least a dozen or so ways to get the module to load and work but still get the same error:
Error SQL0: Required contributor with id 'AgileSqlClub.DeploymentFilterContributor' could not ...
0
votes
1
answer
1k
views
Convert publish profile file (.xml) into DacDeployOptions class
I am working on a C# project where I should deploy few .dacpac files so I have used the Microsoft.SqlServer.DacFx library (github from DacFx here).
I have used also in another part the SqlPackage.exe ...
0
votes
1
answer
386
views
MCP4728 on RP4 with Python
I am trying to use MCP4728 DAC with RP4.
I can’t get it to work.
Connection map:
RP4 1 (3.3V) to 1 at 4728.
RP4 6 (GND) to 10 at 4728.
RP4 3 (SDA) to 3 at 4728.
RP4 5 (SCL) to 2 at 4728.
GND to 4 at ...
1
vote
0
answers
377
views
SqlPackage does not deploy referenced DAC package
I have created a solution with two database projects: Dependent.sqlproj and Dependency.sqlproj. The Dependent.sqlproj references to Dependency.sqlproj:
<ItemGroup>
<SqlCmdVariable Include=&...
0
votes
1
answer
211
views
Acumatica Customization: Add PO Nbr column to SO Line
I am trying to create a customization to add the PO Nbr associated in the PO Link graph to a column in the SO Line. I know the link is made in the SOLineSplit table, but I am struggling with how to ...
1
vote
1
answer
2k
views
How to generate mixed frequency sinewave using STM32F4 DAC?
I am using STM32F4 Discovery board. I have generated a 10Hz sine wave using DAC Channel1.
As per STM's Application note, the sine wave generation should be done as follows:
And it can be used to ...
0
votes
1
answer
590
views
STM32F4 DAC pins causes problems with adjacent GPIO pin
I have a strange problem that I dont understand. Please bare with me as this is a difficult problem to deconstruct. I will thus give as much information as I can with test cases and results I have ...
0
votes
1
answer
377
views
Use different group in bubblewrap
my user belongs to some groups:
$ id
uid=1000(user) gid=1000(user) groups=1000(user),1003(shared)
Now I have a program running in bwrap/bubblewrap.
I can tell the program to create files as a ...
0
votes
3
answers
3k
views
STM32 Analog Output
I was making a research about analog output from stm32. STM32F407VG user manual and DAC Manual says that STM32 can give analog output from DAC periphal.
Is that analog output really ANALOG ?
3
votes
1
answer
2k
views
STM32 TIM DAC and DMA
I want to offload the CPU of my STM32G491 by using the DMA function.
I want to use the Timer 2 (TIM2) to generate four moments where a DMA transfer is needed.
While doing so I can create two pulses in ...
1
vote
1
answer
225
views
DacFx regression error v14 vs v15. Version 15 is issuing "ALTER DATABASE" statements at DacServices.Deploy() time, but it should not
I'm using the DACFx DLLs in a web project that can generate a dacpac and restore it somewhere else (new empty database in another server and perhaps a different SQL Server version).
A backup created ...
0
votes
1
answer
2k
views
Frequency Adjusting with STM32 DAC
I used STM32F407VG to create a 30 khz sine wave. Timer settings are; Prescaler = 2-1, ARR = 1, also the clock is 84 Mhz(the clock which runs DAC).
I wrote a function called generate_sin();
#define ...
0
votes
1
answer
2k
views
How to use Raspberry Pi Pico with DAC with SPI to generate sine wave of 1 kHz with 20 k samples per cycle
I have a DAC which can be used with a 50MHz SPI interface.Its a 16 bit DAC with 8 bit address,hence i require to send 24 bits data. I want to use Pico to send data to DAC so as to produce a sine wave ...
0
votes
2
answers
1k
views
Difference between loading a file from a path and from a stream C#
This is a follow up question to this question:
Difference between file path and file stream?
I didn't fully understand everything answered in the linked question.
I am using the Microsoft.SqlServer....
0
votes
0
answers
90
views
Why is a DLL loaded in parent domain even though it is not referenced?
I have a Windows service used for deploying dacpac's.
The service has no other references other those required for it to be installed and run. It only loads in a different AppDomain an assembly which ...
1
vote
2
answers
8k
views
Error when deploying DACPAC via Azure DevOps Pipelines
I am flushing out a CI/CD process with Azure SQL DB deployed via Azure DevOps Pipelines. I am using the Adventure works database and set up a visual studio project importing the schema.
I have a ...
3
votes
1
answer
1k
views
Error SQL71624: The permission 'CONNECT' is not valid for the target object 'guest' in Microsoft Azure SQL Database v12
I have a SQL database created and I am trying to deploy/move that database to the Azure Cloud by using the Deploy Database to SQL Azure Wizard in SQL Server Management Studio. But I have ran into an ...
1
vote
0
answers
164
views
Word Representation of the Amount field in Acumatica In Report Designer
Is there a way to convert the cents into words?
This is what was used:
[PXString(4000)] [PX.Objects.AP.ToWords(typeof(ARInvoice.curyOrigDocAmt))] [PXUIField(DisplayName="AmountToWordsEN")]
...
1
vote
0
answers
217
views
How do I produce a sawtooth waveform using c language?
This is my program with regards to DAC using PIC18F97J60. I am new to this and already struggling alot so please do not judge me.
#include <P18F97J60.h>
//#include <delays.h>
//#...
0
votes
1
answer
137
views
How do i get the frequency of the microphone in ChucK?
I need to get the frequency that comes out of the microphone input, in order to play certain notes on a sequencer or any instrument depending on the microphone tone.
I use this code to output de ...
0
votes
0
answers
109
views
Interfacing DSP with ADC and DAC data converters on one SPI port and one chip select
I want to use one SPI port with one chip select to control ADC and DAC converters. I would connect ADC to MISO pin of DSP, DAC to MOSI pin. Is this in general possible?
0
votes
1
answer
204
views
Multiple Oracle Clients DAC
My group is moving to a new Windows Server (Windows Server 2016). We need to migrate existing code without re-compiling. The existing code (on old Server 2008) utilizes Oracle 11g and 12c clients 32 ...