LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9264 to produce 3 phase waveforms and shown in 1 chart

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!

 

0 Kudos
Message 41 of 58
(966 Views)

Hi LVNinja,

How can I see the other waveforms in the output graph?

 

richardtiatcosandccom_0-1687793233283.png

 

0 Kudos
Message 42 of 58
(962 Views)

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 

0 Kudos
Message 43 of 58
(942 Views)

- there is a boolean input RESET, that needs to be set to TRUE - I mentioned this before

LVNinja_1-1687824890913.png

- 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.

LVNinja_0-1687824759401.png

 

 

 

 

 

0 Kudos
Message 44 of 58
(936 Views)

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!

 

 

 

 

 

 

0 Kudos
Message 45 of 58
(925 Views)

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 is to 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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 46 of 58
(925 Views)

Thanks GerdW for your swift reply! 😊

 

Is it ok if you modify my code (attached) based on your suggestion below?

 

Thanks!

0 Kudos
Message 47 of 58
(922 Views)

Can I use the Trigger Settings of the program?

 

richardtiatcosandccom_0-1687870533966.png

 

0 Kudos
Message 48 of 58
(918 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 49 of 58
(912 Views)

Thanks GerdW!

 

Do I put the "0" on the time out terminal?

 

richardtiatcosandccom_0-1687875292142.png

 

0 Kudos
Message 50 of 58
(899 Views)