04-02-2019 01:09 AM
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!
04-02-2019 03:31 AM
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.
04-02-2019 08:02 AM
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.
04-02-2019 08:57 AM
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.
04-02-2019 09:17 AM - edited 04-02-2019 09:18 AM
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?
Why do you think you get away without external voltage supply when the specs clearly define (TTL) voltage levels?
04-02-2019 09:37 AM
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.
04-02-2019 10:04 AM
04-02-2019 10:09 AM
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.
04-02-2019 12:56 PM
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
04-02-2019 11:45 PM
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