Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to do two simultaneous analog input channels for two simultaneous images using vision only

My project has required to synch motion, data acquisition and image generation. Two independent analog channels are read from positions controlled by a motion controller and voltage levels are used to generate 2D arrays for image generation for each independent channel.Data Acquisition is easily done but how is this done for two images using only Vision components and picture control without IMAQ hardware?
Bernardino Jerez Buenaobra
Senior Test and Systems Development Engineer
Test and Systems Development Group
Integrated Microelectronics Inc.- Philippines
Telephone:+632772-4941-43
Fax/Data: +632772-4944
URL: http://www.imiphil.com/our_location.html
email: Bernardino.Buenaobra@ph.global-imi.com
0 Kudos
Message 1 of 6
(3,766 Views)
For the first part of your system, synchronizing your data acquisition with motion position should be fairly easy to accomplish. Check out the following resources that may assist you in this task:
Developer Zone Example: Motion Synchronization with DAQ via RTSI (encoder - external scan clock)
Developer Zone Tutorial: Integration with Motion Using RTSI

As for the second portion of your system, it sounds like you want to transform a 2D array of analog data into an image and display that image in a picture control. This
is possible, but you may need to format your analog data into a form that the picture VIs can accept. (Such as a 2D array of unsigned eight-bit integers for the Draw 8-bit Pixmap.vi). See the following example, which uses Draw 8-bit Pixmap.vi to display an image in a LabVIEW picture control:
Developer Zone Example: High-level Snap in Picture Control (LV). However, in your case, you would replace the image acquisition part of this VI with your analog input acquisition and then convert the voltage data into an appropriate format for the picture VI.

I hope this helps!

Best regards,
Dawna P.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(3,766 Views)
Hello Dawna:

This was already done and the program actually has work but only for one (1) analog channel I have a problem with Vision VIs components running in queued synch parallel fashion somehow it does not able to do the job if done this way? That is two (2) analog channels in two (2) image generation loops. I will send you the code through your email because this page can't handle it.
Bernardino Jerez Buenaobra
Senior Test and Systems Development Engineer
Test and Systems Development Group
Integrated Microelectronics Inc.- Philippines
Telephone:+632772-4941-43
Fax/Data: +632772-4944
URL: http://www.imiphil.com/our_location.html
email: Bernardino.Buenaobra@ph.global-imi.com
0 Kudos
Message 3 of 6
(3,766 Views)
Sounds good. I look forward to hearing from you.
0 Kudos
Message 4 of 6
(3,766 Views)
Please send me your email address the code is too big for theis webpage to handle
Bernardino Jerez Buenaobra
Senior Test and Systems Development Engineer
Test and Systems Development Group
Integrated Microelectronics Inc.- Philippines
Telephone:+632772-4941-43
Fax/Data: +632772-4944
URL: http://www.imiphil.com/our_location.html
email: Bernardino.Buenaobra@ph.global-imi.com
0 Kudos
Message 5 of 6
(3,766 Views)
Please generate a support request by going to www.ni.com/support and follow the instructions under Option 2: Request Support. You can either phone in or email. Then just reference my name and your support request will be routed to me.

Regards,
Dawna
0 Kudos
Message 6 of 6
(3,766 Views)