From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-17-2014 02:58 PM
Hi friends,
I am completely new in labview coding. I have an arduino nuo chip, connected with a DAC converter, AD5504, Analog Devices, and an operational amplier (OPA551, Texas Instruments) circuit to generate voltage output for piezoelectric firing. The wanted voltage output ranges in 0 - 60 v. However, under my coded program, there is either no voltage output or very low output, like 1.5 V. In the rare case of low voltage output, the voltage is not changable, by applying either digital write () or PWM write pin (). In the attached vi it gives error 5004 at running. Please look through my coding and help me figure it out.
The pin assignments are:
piezo_select = 3; //Relay that switches between piezos
go_button = 5; //piezo/wire button
clr = 6;
sync = 10;
ldac = 7;
alarm = 8;
r_sel = 9;
led = 2.
This is urgent so a quick favor is needed.
Thanks.
08-17-2014 03:36 PM
08-17-2014 03:52 PM
Actually the hardware connection were made by somebody else and it proved functioning properly under the interface developed in arduino open source platform. I need to code the controll bit in labview for specific uses.
So the hardware is no problem. But I could not communicate with it in labview properly.
It's supposed to output upto 60 V voltage, but I could only receive 1.5 V output, and not adjustable under digital write or PWM write pin.
08-17-2014 03:59 PM
08-17-2014 04:07 PM
Im now working at home and the laptop has no Labview installed. I will send you tomorrow morning. However, there was no error message in the code but no voltage output either. Thanks a lot
08-17-2014 04:11 PM
08-17-2014 04:22 PM
Sorry I forget. Error 5004 did exist. But if I had not configure SPI data, there was no error.
08-18-2014 03:05 AM
The error is 5004, occurred at 'SPI data'.
ERR5004: SPI Send Receive. The word size is invalid for the number of SPI bytes to be sent. The number of SPI bytes to send must be divisible by the SPI word size.
Please see attached PNG block diagram
08-18-2014 09:00 AM
Does any one have solutions for my case?
08-18-2014 09:10 AM
i have to complete this coding in very limited time and i appreciate any help here