LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Hi,

 

I tried using the sample Voltage Continuous Output and selected the channels 0, 3, and 6 to generate the same waveform but I encountered this error:

 

richardtiatcosandccom_0-1687529112495.png

 

Please help.

 

0 Kudos
Message 31 of 58
(694 Views)

The waveform settings array  - you need to add 2 additional elements in that array, one for each channel. I wonder if you can also setup the phase shift...

 

 

LVNinja_0-1687532022751.png

 

0 Kudos
Message 32 of 58
(681 Views)

Thanks LVninja!

I will try it and let you know.

0 Kudos
Message 33 of 58
(678 Views)

Thanks LVninja! you're the best!

 

0 Kudos
Message 34 of 58
(668 Views)

Hi LVninja,

I set the phase for these 3 channels as 0 degrees.

 

I want to create the next two 3 phase waveforms with 120 deg and 240 deg phases. 

 

Do I need to copy paste the whole program for 0 deg 2X or can I create an array in the Physical channels and just increase my array in the waveform settings?

 

0 Kudos
Message 35 of 58
(665 Views)

LVNinja_0-1687535994254.png

You can create the 3 phases shifted (u need to add the phase input on the cluster) but there is a Boolean input (RESET) that needs to be true , otherwise all phases will be 0. 

 

As for the DaqMX task, are you setting up the 9 channels at once ? if so then the Array needs to have 9 elements. Sorry I don't have the device, that part u need to figure out by yourself. 

 

0 Kudos
Message 36 of 58
(654 Views)

I encountered this error:

 

richardtiatcosandccom_0-1687537837032.png

I already increase waveform array to have 9 channels used:

 

richardtiatcosandccom_1-1687537939930.png

 

 

 

 

 

0 Kudos
Message 37 of 58
(648 Views)

richardtiatcosandccom_0-1687538009509.png

 

0 Kudos
Message 38 of 58
(647 Views)

It looks like you created an array of 9 dimensions (🤷‍)

 

That should be 1 D array with 9 elements, one for each channel. Dont' forget to wire the Boolean TRUE on RESET.

0 Kudos
Message 39 of 58
(642 Views)

 Thanks LVninja!

 

I will finalize and show it to you.

0 Kudos
Message 40 of 58
(616 Views)