Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I run "Triggered Grab Async (with RIO).vi" on a NI 1454 CVS?

I found the VI labeled "Triggered Grab Async (with RIO).vi" that looks like it should run on a 1454.
 
After switching my execution target over to the CVS and starting the VI in execution highlighting, I get the following error when tryin gto deplo the VI.
 
"
Deploying _nirio_device_getDeviceHandle.vi Failed to download _nirio_device_getDeviceHandle.viLabVIEW:  Failed to load shared library NiRioSrv.dll:NiRioSrvLV_getDeviceByRsrcString:E on RT target device.

Download completed with errors.
 
"
 
What do I have to do to get this example to work?
 
LV8
Latest version of vision stuff.
 
Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 1 of 3
(3,235 Views)

Well I threw away all of the timing related code and the changed it to show the image on my laptop.

This ran as long as I targeted the code at the CVS.

Help files said something about using the serial number (in hex) but I could not figure out what was good syntax to tell it I was looking at a fire-wire camera that was connected to another machine (the CVS) on my network.

Is it possible to grab images from a camera connceted to a CVS from a LV program running on my laptop?
 
Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 3
(3,227 Views)
Ben,
 
"Is it possible to grab images from a camera connceted to a CVS from a LV program running on my laptop?"
 
Yes.
 
Well... you can always target the CVS and remotely view the images from your camera on your host computer, but I do not believe that is what you are talking about.
 
If you want to grab images on your CVS and then send those images to another computer you will need to use something like datasocket or shared variables.  I would recommend taking advantage of shared variables, because they are sooo cool.
 
There is one catch though...  IMAQ Image wires are pointers and because of this you cannot transfer the IMAQ image directly over a shared variable or datasocket.  You will need to use "IMAQ Flatten Image to String.vi" and "Unflatten from String.vi" in order to send Images over the network.  Below is a short knowledgebase regarding this process.
 
 
Also,  I was able to get the "Triggered Grab Async (with RIO).vi" to run on my cvs.  Make sure your CVS has NI-IMAQ I/O installed and that your CVS Visa permissions are set (via MAX) to allow your computer to target the FPGA on the CVS.
 
Lorne Hengst
Application Engineer
National Instruments
0 Kudos
Message 3 of 3
(3,212 Views)