Princeton ccd camera control via Labview
I am trying to control a Princeton
(Roper Scientific) CCD camera using the Labview 8.5 (via the PCI board). I
imported pvcam32.dll library in the Labview but I have some problems
using it. For example, two functions I need to use at the beginning are pl_cam_get_name
and pl_cam_open. In the header file they are described as rs_bool
po_cam_get_name(int16 cam_num, char_ptr cam_name) and rs_bool
pl_cam_open(char_ptr cam_name, int16_ptr hcam, init16 o_mode). First function
allows me to receive the string identifier associated with my camera. It
searches for the drivers, without checking the hardware. The second function
initializes the camera hardware. If successful, the camera sends a camera
handle to hcam. The error that I receive in Labview is C0_Cam _Name_Out_Of_RNG.
Can be that the matter is in how I define the imput parameters? I initialized an array, converted bytes to a string and connected to my input of the cal library function node that is required to be a string. May somebody
please suggest me how correctly to use the functions from the pvcam32.dll or
may be give me some example - that would be faster. I am a new guy to the
Labview.
Don't do a posting more than once. Try to stick to the original thread here . Please wait patiently, so that somebody will surely help you.
Mathan
Similar Messages
-
Hello,
Im trying to connect my microscope cam to labview, but Im getting started with labview,
my camera is managed by a software called win view and it works; but I'm trying to control the camera by labview.
what's the way to allow labview to see my cam??
best regardsHi Marcio,
it is important to have right information on the hardware you are using. in particular which is your camera type (FireWire, analogic, Camera Link, GigaEthernet, USB) and if you have the drivers of your image acquisition board.
Have you got LabVIEW Development System only? Which version? Do you have others NI LabVIEW Modules or NI Softwares (for instance NI Vision)?
I'm waiting for your news.
Hudson | AE NIIT -
How to access specific camera attributes tree (camera controls) located in MAX with Labview?
I want to be able to access frame, trigger and grab properties. Does anyone know?
Thanks.
/PeterPlease see this related thread http://forums.ni.com/t5/LabVIEW/IMAQdr-Property-Node/m-p/1642950/highlight/false#M590168
Matt
Product Owner - NI Community
National Instruments -
How to control the line-in volume input via LabView?
Anyone know how to control the line-in volume and balance input via LabView?
I assume you are referring to audio line-in volume control and lerft-right balance...
If so, then check out this thread:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000D83A0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
Look at the info near the bottom from Paul S & Spectre. They talk about "winmm.dll"
-cheers-
JLV -
How to get the real-time data from a CCD camera in labview?
I am going to setup a monitor system and need to acquire the intensity of each pixel at each second from a CCD camera. Also, I need to to some simple calculations with these real-time data at every moment to get my finanl output in this monitor system.
How may I do this using Labview?
Thank you very much.
KaiWe don't have special powers, so we can't guess if you have Imaq Vision or not, if your camera comes with a LabVIEW driver, if it has an USB interface, or firewire, or a dedicated NI card, if you just want to detect a move, or a change in intensity, etc...
So, try to be more specific with your question, that will helps a lot
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left... -
Not working of AVT stingray F146B CCD camera in Labview, but it works in NI MAX
I have CCD camera, AVT Stingray F146B. And I want to use it with the labview. The camera well works in the NI MAX. I can grab and snab some images by using NI MAX. However the camera does not work in the labview. When I run the labview program, the error message is appeared.
Error-1074360311 occures at IMAQdx Poen Camera.vi
possible reason: Camera not found.
I think that the old version of the NI vision acquisition can be a reason. So I installed with new vision. I use now NI-IMAQ 4.7, NI-IMAQdx 4.0, NI-IMAQ I/O 2.6.
What is the problem? What shall I do for using it?
Attached is my imaging program.
Attachments:
new imaging program.vi 97 KB
new imaging program.vi 97 KBSearching this forum I see another exchange that may be relevant:
http://forums.ni.com/t5/LabVIEW/PLEASE-HELP-IMAQdx-issues/td-p/1864645
Not sure if that's it but worth looking into, I suggest!
Scott -
Can I control Internet Explorer via LabVIEW?
I want programmatic access to web pages via LabVIEW. I have tried using "URL Get HTTP Document.vi" but am rejected at some sites. I have controlled IE via VisualBASIC before. Just wondered if it was possible via LabVIEW.
Thanks in advance for any help.Hi,
Well it depends on what exactly you want to do but with ActiveX you can control IE (or FireFox) from LabVIEW.
See that thread for more info
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!" -
To Control a Power Supply via LabVIEW
Hi,
I am really in the beginning of the learning LabvIEW. I am trying to control a power supply( Ametek XG
1500 ) via LabVIEW through USB cable. I have goggled several websites, but still do not have a clear idea
of how to implement such task. I downloaded COM drivers from www.programmablepower.com. Then, device and
my computer see the USB cable, but I do not have exact clue to make a good program to control power
supply.
I tried to make a program with NI-VISA with SCPI commands. Actually, I am not sure to write true
commands and I can not see the voltage or current value on the front panel. I have never write a program
to control any electronic device. Maybe, I can not see the basic step or not.
Firstly, I want to write a program which makes power on/off to the power supply. I do not know where
should I begin. Please any of you give me an offer to do this task.
Thank you.
DenizThere is of course, the IVI driver.
I don't understand at all why you would install a different com port driver than the one that comes from Ametek/Sorenesen. In any case, I did not use the IVI driver. I simply created my own using Tools>Instrumentation>Create Instrument Driver Project. Pretty simple for me - I did a basic driver in less than a day. I would suggest you look over the instrument driver tutorial (on main idnet page). The commands are well documented in the manual. Be sure to get the termination characters correct. I can't provide the code I wrote as it was for a customer but if you post what you have written with details on errors you get etc, I'll try to help. -
Camera Raw (via Bridge) starts to malfunction. Help!
Windows XP Media Centre.
PS CS3.
This is not the first time this has happened to me.
I am editing and saving images in Camera Raw via Bridge and suddenly, I cannot activate the Save Image command. The entire Camera Raw window just greys out and/or the Taskbar pops up in front of the Save Image button.
It's as if the Taskbar is invisibly blocking the Save Image button and appears when I try to use it.
Previously, I've had to use Control/Alt/Delete to close Camera Raw (the Cancel and Done buttons don't work either.
Another weird thing.....if I click on the Heal Tool, it will only appear on the image *above* the highest previous healing mark. If I drag the + tool symbol in amongst previous heal marks, it reverts to the mouse cursor! Bizzare!
Anyone else had this problem?
Any ideas?Sorted.
Though I didn't touch it, the Toggle to Full Screen Mode had been activated.
This, for some reason, prevents the bottom half of the Camera Screen from working.
D. -
How can use my ccd camera(roper scientific) in lv6i
I have one kind of ccd camera made from roper scientific inc(Type_af1041).Now i want to control it lv6i,Can somebody give advice?
RegardYou will need hardware (Image Acquisition Boards) and software (IMAQ) from NI vision products and services. Check http://sine.ni.com/apps/we/nioc.vp?cid=1286〈=US for additional infromation.
-
I've attached a VI in which I attempt to set the Strings[] property of a menu ring control via a property node. Can anybody figure out what I'm doing wrong here? I'm using LabView version 7.1.
Thanks,
Mark Moss
Attachments:
Bug Test.llb 69 KBOpen up your Stations Parameters Control.ctl file and change it from a Strict Type Def. to just an ordinary Type Def. (the pull down menu is located next to the font selector).
-
Auto Tune prior to running motion control program (LabVIEW)
Hi,
I am controlling Parker Compumotor (404-LXR) linear servo table via GV6 drive and PCI-7344 motion controller.
The problem is that I always have to run automatic tuning in MAX when I turn off all the system and restart it.
Before I use the automatic servo tuning in MAX, the servo table buzzes and oscillates wildly. Cabling seems to be successful as linear servo motor is completely controlled by LabVIEW after auto tuning in MAX.
I wonder how I can just run my LabVIEW program without running Auto Tune step.Hello Gino,
Thank you for using our discussion forums. Yes, you can programmatic load the PID parameters from LabVIEW. Tune your servo using auto tune, once you are satisfied with the response look under the Control Loop tab for the PID parameters. In LabVIEW use the Load All PID Parameters.flx and use the tuned parameters from Measurement and Automation Explorer as the PID Parameters input for this VI. Place the VI before the multistart.vi. This will make sure the correct PID settings are used. I hope this helps you out. Have a nice day!
Regards,
Nipun M
Applications Engineer
National Instruments -
Saving image from CCD Camera (without IMAQ and Vision)
Hi,
I am using the basic Labview 7.0 (no IMAQ and no Vision). I am triggering a
CCD camera (Megaplus ES 310 Turbo) from my NI acquisition card and the
signal goes to the triggering input of the camera. How to save the file
captured by the camera under labview? I found the "Write a jpg" VI but how
can I refer the image data to it?
Any clue is truly welcome.
Thanks
MathieuHi Matthieu,
What kind of format is your CCD image in? If it’s in some sort of a pixmap (2D array) then you can use the Flatten Pixmap VI in All Functions >> Graphics and Sound >> Graphics Format to convert the pixmap to an image data cluster. You can then pass this image data cluster into the Write JPG VI.
Kileen
Attachments:
pic.vi 36 KB -
bonjour !
je dois effectuer l'acquisition d'image via une camera et gérer le traitement d'image via labview.
j'ai déja créé les VI pour acquerir et traiter les images,mais seulement je n'arrive pas à enregristrer l'image acquise dans un fichier , pour pouvoir y retourner le rechercher lors du traitement d'image .
merci.Labview standard a des fonctions pour sauver des images en différents formats dans la palette ''Graphics and Sounds''/ ''Graphics Formats'' (désolé j'ai la version anglaise). Il y a des fonctions additionnelles dans l'outil en supplément ''Vision Development''.
Il y a aussi un forum francophone. C'est probablement un meilleur endroit pour poser une question en français.
bonne chance
Marc Dubois
HaroTek LLC
www.harotek.com -
16 Bit spectroscopy camera driven by LabVIEW
I am looking for a 16 Bit water cooled camera and frame grabber for collecting still images that can be controlled by LabVIEW. I want to do phase resolved imaging in the 10s of kHz range, so it needs 1-10 usec time resolution. Any recommendations for imaging systems?
Thanks,
JoHello Jo.
As far as the National Instruments products are concerned, you will probably not be limited with your frame rates/image sizes with our CameraLink board (PCI-1428). The limitations on data rates are determined simply by the image resolution and the frame rate. Feel free to give our technical reps a call and we can further discuss any specs you desire from our products.
Needless to say, sticking with our frame grabbers will give you a seamless and easy LabVIEW interface.
Please feel free to reply with any more specific questions.
Regards,
Colin C.
Applications Engineering
Colin Christofferson
Community Web Marketing
Blog
Maybe you are looking for
-
EJB 3.0 lookup with WLS 10.3.0
Hello everyone, 1: Our application runs on Weblogic Application Server,version 10.3.0 2: In our system,we need to deploy an EJB conforming to the EJB 3.0 specification. Please find the sample code for our UAT environment as below : /*The remote inter
-
Samsung SSD is no longer available in the MBA?
I was told by Apple today that the Samsung SSD is no longer being installed in the MBA. Now the only SSD in the Toshiba. Can anyone else confirm this?
-
hi i'm using oracle AS 10gR2, i got the below error in the java console when i tried to access specific form. java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed at sun.applet.AppletClassLoader.getBytes(Unknown Source)
-
Hi, This was the closest place I could find to post this question; Lets say I have two servers with which I interact - one via jdbc and the other via http, and I execute updates to both of them. My question is if anyone has some insights to share wit
-
BAPI_GOODSMVT_CREATE - no value in return
hi im using Fm BAPI_GOODSMVT_CREATE for transfer posting based on sales order. in the item table i have given values for fields MATERIAL PLANT STGE_LOC BATCH MOVE_TYPE SPEC_STOCK SALES_ORD S_ORD_ITEM ENTRY_QNT ENTRY_UOM MOVE_PLANT MOVE_STLOC MO