06-26-2023 10:14 AM
Hi LVNinja,
When I opened the file, the waveform settings was not saved.
How can I saved the waveform settings so when I open it again, I won't have to set it again as it takes time.
Thanks!
06-26-2023 10:28 AM
Hi LVNinja,
How can I see the other waveforms in the output graph?
06-26-2023 03:34 PM
From the bock diagram, You can right lick on the waveform settings and Change to Constant" this way it will stay hard coded as you setup.
I will check the code soon
06-26-2023 07:15 PM
- there is a boolean input RESET, that needs to be set to TRUE - I mentioned this before
- the waveform setup array has to have 9 elements (one for each of your waveform -if you make them a constant it will be hard coded so you don't need to setup every time.
06-27-2023 07:37 AM
Hi LVninja,
I already put the Boolean reset, it worked.
I can make the output array as constant but I have another question.
After pressing STOP, the NI device stopped sending signal but my Equipment still sees some values. The solution is to change the amplitude of all channels to "0" then press start again. Please see the full process below:
Full cycle test of Equipment
1. Set the waveform settings - the only difference is the phase value of each channel
2. Press Start
3. after maybe 2 minutes (this is variable), Press Stop
4. Change the waveform settings - amplitude to zero
5. Press Start
6. Press Stop
Then test the 2nd Equipment using the same process above.
Do you know if I can change the amplitude of all channels in a "single shot" so the process/test cycle above won't take long? or can we design two waveform settings, one is based on item 1 above and the second one is when amplitude is "0"?
Thanks!
06-27-2023 07:41 AM
Hi Richard,
richard.tiatco@sandc.com wrote:
After pressing STOP, the NI device stopped sending signal but my Equipment still sees some values.
The solution isto change the amplitude of all channels to "0" then press start again.
The solution would be to output "0" AFTER finishing the loop and BEFORE stopping the DAQmx tasks - as part of a "safe shutdown" routine!
06-27-2023 07:49 AM
Thanks GerdW for your swift reply! 😊
Is it ok if you modify my code (attached) based on your suggestion below?
Thanks!
06-27-2023 07:55 AM
Can I use the Trigger Settings of the program?
06-27-2023 08:02 AM - edited 06-27-2023 08:03 AM
Hi Richard,
richard.tiatco@sandc.com wrote:
Thanks GerdW for your swift reply! 😊
Is it ok if you modify my code (attached) based on your suggestion below?
See this:
Surely you can use trigger - but what exactly do you want to achieve by using them?
06-27-2023 09:15 AM
Thanks GerdW!
Do I put the "0" on the time out terminal?