LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

triggering with NI PCI 411

Hello all,
 
I use NI-PCI-411 board  for data acquisition with a computer ( comp#1). The card has 3 BNC sockets, 2 channels and 1 trigg. I want to use one of the sockets to trigger a camera with MATLAB commands.The camera is connected to another computer (comp#2), however the BNC input is connected separately with comp#1.
Is this scheme possible? How do I interface with MATLAB with the PCI card?
 
Thanks.
Noam
0 Kudos
Message 1 of 9
(4,426 Views)

Hello Noam,

 

The following thread may of use to you here:

 

NI-DAQmx Data Acquisition tool with Matlab R2012a

 

I haven't found any documentation on the NI PCI 411.  Could you confirm the model number?

 

Regards,

Nadine H.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 9
(4,385 Views)

Hi Nadine,

 

I accidentally specified a wrong name for the board.Th name is PCI 5114 and the specs are in the following link:

https://www.ni.com/en-us/support/model.pci-5114.html

 

Currently ,I am creating  a 'ni'  session in matlab however it doesn't allow me to create any channels for analog output signal delivery. Do you have any suggestions?

Im using the following example to interface with the CI board - http://www.mathworks.com/help/daq/examples/synchronize-ni-pci-devices-using-rtsi.html)

 

Thanks.
Noam

 

0 Kudos
Message 3 of 9
(4,376 Views)

Hello Noam,

 

As the other thread mentions, the NI-DAQmx Tools for Data Acquisition with The Mathworks, Inc. MATLAB® Software supports up to version 2008b of the MATLAB® Software.  In order to use our Multifunction DAQ products with the MATLAB® Software, you could either revert back to 2008b or earlier, or instead utilize the Data Acquisition Toolbox provided by The Mathworks, Inc. However, it looks like the PCI 5114 is not supported by this Toolbox.

 

Another option would be to import your .m files into a MathScript node in LabVIEW, and utilize the NI-DAQmx functions all within the LabVIEW development environment.

 

I hope this helps.

 

MATLAB® is a registered trademark of The MathWorks, Inc.

Nadine H.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 9
(4,349 Views)

If you're trying to use a library created by mathworks, shouldn't you be asking mathworks how to use it?  Asking LabVIEW users how to use Matlab is a lot like asking Honda drivers what their favorite part of Ford is.

0 Kudos
Message 5 of 9
(4,338 Views)

Nadine,

 

Thank you so much ,you really help me a lot.

How did you understand that MATLAB > 8. does not support the card? Im trying to use analogoutput() command (which is not session based , e.g not in the data aq. toolbox) and it fails to find the device (I am looking for 'niScope') .By the way I know Labview, however the whole program is MATLAB & MATLAB toolboxes based so I prefer to stay in this environment...

 

Many thanks,

Noam

0 Kudos
Message 6 of 9
(4,310 Views)

Good Morning Noam,

 

It seems that the Data Acquisition Toolbox provided by The Mathworks, Inc. do not support the NI PCI 5114. After some research, it looks like the NI PCI 5114 requires the NI-SCOPE driver not the NI-DAQmx driver. So, all of the information posted above in this thread pertaining to the NI-DAQmx driver would not apply here.

 

Here is some information on the NI-SCOPE driver: Getting Started with NI-SCOPE

 

MATLAB® is a registered trademark of The MathWorks, Inc.

 

I hope this helps!

Nadine H.
Applications Engineer
National Instruments
0 Kudos
Message 7 of 9
(4,281 Views)

Actually I did manage to work with the 'niscope', by refering to it as a IVI drivers. Anyway, I am not sure that I can drive an output  trigger of 5V to the camera with it. It seems like it is only an Aquisition board (Scope) without the ability to send analog output signal. Am I right? is there a way to send a signal maybe with the AUX I/O entery? Is there a manual or examples how to use PFI commands with Matlab to work with the device?

 

Thanks again,

0 Kudos
Message 8 of 9
(4,271 Views)

Hello Noam,

 

The PFI lines only output 3.3V CMOS as described in the specifications and are meant for sending and receiving digital triggers, so it doesn't seem that what you are trying to do is possible with this card.  Is there a particular reason you are looking to perform this with an NI PCI-5114?

 

You may consider looking at our Multifunction DAQ cards instead. Here is a link to our Multifunction DAQ PCI cards: PCI Multifunction DAQ

 

Regards,

Nadine H.
Applications Engineer
National Instruments
0 Kudos
Message 9 of 9
(4,243 Views)