LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pressure transducer - NI 9263 and NI 9174

Hi Pieterson,

 

MAX is the "Measurement & Automation Explorer", a tool from NI to handle (mostly) all NI-DAQ-hardware. It is installed with DAQmx…

In MAX you can also create DAQmx tasks - with the added benefit of getting even diagrams on how to wire your DAQ device!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 20
(1,543 Views)

Thank you GerdW.

Can you please change the subject to external hardware triggering of Analog output by using Digital input for any new reply?

Hi,

I am completely new to Labview. I am trying to trigger analog output (NI-9263) by using digital I/O (NI- 9401) on Ni-cDAQ 9174.The hardware trigger I am using a push button with positive terminal connected to pin 14 (DIO 0) and negative terminal to pin1 (COM1) .

 

I think pressing the push button mainly short-ckt both the terminal generating ~5v impulse trigger at the digital output that is now used to trigger the analog output.Kindly correct me if I am wrong.

 

I have attached the VI used to do so.However, pressing the push button does not seem to work.It does not even show any error.To trigger,I have to press button on front panel of Labview.

Any help will be highly appreciated.

 

 

0 Kudos
Message 12 of 20
(1,533 Views)

Hello,

I am completely new to Labview and having problem to trigger analog output (NI-9263) by using digital I/O (NI- 9401) on Ni-cDAQ 9174 so that signal is generated only after I press hardware trigger. The hardware trigger I am using a push button with positive terminal connected to pin 14 (DIO 0) and negative terminal to pin1 (COM1) .

Can someone please help me with this?

I have attached the VI used to do so. However, pressing the push button does not seem to work.It does not even show any error.To trigger, I have to press button on front panel of Labview.

Best regards and thank you.

0 Kudos
Message 13 of 20
(1,539 Views)

Added information: 

I am not using any external power source for triggering. I assume NI-9401 just needs a switch connected to PFI 0 to act as a trigger. Please correct me if I am wrong.

0 Kudos
Message 14 of 20
(1,527 Views)

Hi Pieterson,

 

I assume NI-9401 just needs a switch connected to PFI 0 to act as a trigger.

Whenever you "assume" some hardware specifications you need to read the manual!

Did you read the manual for your NI9401?

 

check.png

Why do you think you get away without external voltage supply when the specs clearly define (TTL) voltage levels?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 15 of 20
(1,522 Views)

Thank you GerdW.

I saw some online videos from NI where they use Daq express to generate analog signal and use digital edge to trigger the generation. They don't use any external power supply to achieve this. I am also attaching the video link.

https://www.youtube.com/watch?v=yPEPQbtQyPw  

0 Kudos
Message 16 of 20
(1,516 Views)

Hi Pieterson,

 

as can be seen clearly in the video the use a switch to connect PFI0 with +5V.

No external supply, but a built-in one…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 17 of 20
(1,509 Views)

Thank you once again.I guess this was the mistake Iwas making.How about the code.Does it seem correct? In the code originnaly used to generate analog output,I simply connect trigger VI between signal write Vi and start Vi.

Best regards.

0 Kudos
Message 18 of 20
(1,506 Views)

I tried using Daq express to acquire analog signal and here the digital trigger worked fine. But, the case is not the same with analog output.As soon as I run the code from front panel, the signal generation starts, even having trigger Vi doesnot seem to play any role.

I am stuck with it for some days. Any help will be greatly appreciated.

 

Regards

0 Kudos
Message 19 of 20
(1,500 Views)

I tried generating the same analog signal using DAQ-express and could achieve the triggering. But, when I try to programme the same signal generation and use digital triggering, the trigger seems to have no function there. As soon as I activate the signal generation using run button on front panel, the generation starts. I expect it to start generating only after I trigger.

 

I am attaching a png for the programme I have written. I think it has got some issues. Can anyone please have a look at it and help me correct it?

Thank you and best regards,

Pieterson

 

 

 

 

0 Kudos
Message 20 of 20
(1,490 Views)