Communicating Quanser DAQs via Labview RealTime
Hello,
I am using a data acquisition card made by quanser (Q8-USB) in my robotic application and I have the following questions:
1- Is it possible to read/write this DAQ in labview? I know that there is a special add-on for quanser DAQs, but I have not bought it.
2- Is it possible to communicate with a USB devise in RT-Target ?
thanks
Alini,
I checked our third-party intstrument driver site and did not see anything listed for the Quanser device.
http://www.ni.com/downloads/instrument-drivers/
You may want to contact the original distributor of the device to validate the claim that it can interface with LabVIEW. Theoretically, you should be able to. However, the first step would be to verify if the device appears in Measurement and Automation Explorer.
The following links may help address your questions regarding communication with the device in real-time.
LabVIEW Real-Time and USB Frequently Asked Questions (FAQ) - http://digital.ni.com/public.nsf/allkb/BE80D012BB933B54862572D6004FE5F9?OpenDocument
Can I Control a USB Device with NI-VISA on a Real-Time Controller? - http://digital.ni.com/public.nsf/allkb/5F30CD20D4D986CC862576CF00748B15?OpenDocument
Regards,
Will M.
Applications Engineer
National Instruments
Similar Messages
-
Agilent 34970A External Reference Configuration via Labview 8.2
Hello
I am trying to scan up to 12 channels with the Agilent 34970A. My goal is to measure the temperature using channel 101 as the external reference using 4-wire RTD whereas all the other channels are supposed to use Thermocouple (k-Type). I know that the Agilent is able to do so, because you can configure it on the manual display. My problem is that every time I have configured Channel 101 ( CONF: TEMP FRTD,85, (@101)) and then the other Channels 102:1XX ( CONF: TEMP TC,K, (@102:1XX)) it seems that the configurations for Channel 101 are lost. I tried everything I could come up with to seperate the inputs, but nothing usable comes up. Any Advice?
Thanks NejaThere are two different drivers sets for the 34970, but they're not from Agilent. They're available from the NI Instrument Driver Network. Since you said you had it working under 7.1 you're probably using the older "hp34970" drivers. The error codes you indicated are -138, which is "Suffix not allowed", and -113, which is "Undefined header". Both of these basically mean a syntax error, which is likely incorrect code with the drivers. There are numerous configuration VIs. Which one are you using, and how are you calling it? Can you use the updated project-style drivers available from the link I posted?
I'm not quite sure I understand what you're saying with the COM ports. You said you get nothing when using COM1 or COM2. How many devices do you have connected to your COM ports? What communication parameters (baud rate) are you setting?
It would probably be worthwhile to see what happens if you try to talk to instrument via MAX to see if this is a communication problem or a LabVIEW problem. With the LabVIEW drivers you can see what command is being sent out to the instrument by simply putting a probe on the string that's being fed to the VISA Write. Then, you can enter the same command in MAX (as well as confirming the command from the user manual) to see what happens. -
IAR, NATIONAL INSTRUMENTS LABVIEW REALTIME V6.1, NI-488.2 V2.01, CNC CADCAM
IAR,
Microwave Design Office 2002, Cadence, OrCAD, Protel, FPGA, VHDL,
Natinst, Xilinx, Siemens Simatic, Labview, metrowerks codewarrior8
[2CDs],
other 20 gigabytes/week software for pc and mac
send email for catalogueHello,
Which driver have you on your computer ? You can see them in MAX >> Software. Which is version of ni-visa, ni-488.2 ?
What kind of protocol do you want to use : gpib, serial, parallel ?
What ahhpens in AMX when you test your communication ?
What are error code and error string ?
Regards,
Isabelle
Ingénieur d'applications
National Instruments France -
Labview realtime desktop PC : unable to install software
I have a Labview realtime desktop PC which was running OK until this afternoon.
I tried to use the Realtime System Replication. It wasnt able to copy my config because my app was too heavy and ftp was sloooow.
I used ftp to delete my app from the target PC.
From this point I wasn't able to work with the target PC.
At boot time I've got this message:
...Transferring control to user program.
...Labview RealTime desktop PC boot loader
...Copyright …
...Searching hd for boot program .. not found.
...Using safe mode program
...Init network
...Device 1 … MAC .. IP
System State : No software installed
When I try to maintain the system via measurement explorer, I'm able to modify the network configuration and to reboot the target.
Measurement explorer displays "Connected - no software installed" in the status bar (as a matter of fact it displays "Connecte - aucun logiciel installe", I'm using a french version). If I try to install software with the dedicated button ("Add/remove software" I guess) I get a message box displaying an error 59
Thanks in advance
NicolasNicolas,
Is it possible you inadvertently removed a required file when you FTP'd to the target? I get the impression that the host no longer knows what is installed on the target nor can it repair it.
Within MAX you can create an Uninstall Disk (option 1) or a Format Disk (option 2). Neither are desirable options, granted, but if the Add/Remove software option throws an error, then I suspect your target has been corrupted. Hopefully someone with more knowledge can translate your specific error code....
Regards,
Message Edited by mepausle on 12-20-2006 12:38 PM
Matthew Pausley
NC State University
Raleigh,NC -
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 connect multiple DAQ in labview
Hi,
I have a question about connecting multiple DAQs to the labview.
So, currently I have two NI 6210 DAQs, each with 16 channels. I would like to simultaneously collect data with 32 channels, so I plugged both DAQs into the USBs on my computer. I am wondering which function block that I could use to look for and combine the data from two DAQs in Labview? Currentlly I used a DAQ assistant to read data from one of my DAQs. I tried adding another DAQ assistant block, and then merge the two blocks, but it doesn't work.
Please advise. If there is any similar post, I would really appreciate if you could direct me to those.
Thank you very much!
Best,
Minnieben64 wrote:
If all channels perform the same type of measurements you can just add the channels of the second daq board in the same daq assistant. The daqmx read will output an array of 32 values (assuming you use the 32 available channels).
You should provide us with more details.
Ben64
That may not work with M series cards (unless NI changed something on me). Last I checked, M series and older needed to have seperate tasks to run, meaning you would need two DAQ Assistants.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Is some driver needed when I want to use Matrox card to aquire image via Labview?
Is some driver needed when I want to use Matrox card to aquire image via Labview?and I cannot afford the expense of buying a driver made by alliancevision。 If there must be some driver installed before I acquire image, can anyone email me one? Or just give me some advices. My email address is [email protected]
The attachment is my VI by which I attempt to acquire image, and I don't know what is the problems in it and whether it is because of the lack of the driver.
Attachments:
method2.vi 19 KBYou asked the same question here under a different user ID.
Asking for someone to email you something that you must purchase is called software piracy. Nobody on this forum will help you with that. -
Using Labview realtime module in RTAI
hello everyone,
i want to use Labview realtime module in RTAI for real time applications beacuse of it's free source and very good performance. is it possible to do this work?
if it is, can anyone introduce some same case study or something similar to this?
Solved!
Go to Solution.amirsaman wrote:
hello everyone,
i want to use Labview realtime module in RTAI for real time applications beacuse of it's free source and very good performance. is it possible to do this work?
if it is, can anyone introduce some same case study or something similar to this?
I don't think that is possible for anyone outside NI. LabVIEW realtime supports at this time only Windows as development host and as target only National Instruments hardware with specifcally targeted OSes or the Pharlap ETS system on x86 systems with a somewhat specific hardware configuration. Using RTAI as target OS for LabVIEW realtime applications would require first some modifications to the LabVIEW realtime plugin to support this new platform.
Also none of the LabVIEW realtime files created for either the NI platforms running VxWorks or Pharlap OS, or the Pharlap ETS system woud be possible to get deployed to a RTAI system, as they are not compatible. You would in the first place have to port the whole slew of shared libraries that make up the realtime LabVIEW runtime system on one of these targets to your RTAI system which is basically a completely new LabVIEW target platform that you can only create with quite a bit of effort from the LabVIEW source code. It's not really impossible for NI as most of the LabVIEW code is written quite platform independently but it would be a combination of the compile settings for current LabVIEW realtime, with settings to produce LabVIEW VxWorks realtime targets with some extra Linux settings. Yet it would be by far not trivial and some of the parts are actually hardware specific drivers which have to be ported too, and limit the possibility of what RTAI hardware could be used even further. In short not something that would make any commercial sense to NI as they would have to invest a lot of resources without any possibility to sell extra hardware.
And hell is freezing up before NI releases LabVIEW source code in any form that would give non-NI employees access to it!
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
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 -
Does PXI-8109 Support Labview Realtime 8.5.1?
I am having trouble installing labview realtime 8.5.1 onto the PXI-8109. Does this embedded controller support this version? If not, what's the lowest version does it support?
Thanks,
AndyHey Andy,
With the PXI-8109RT you can only use LabVIEW Real Time 2010 or later. You can see this on the product page of the NI PXI-8109RT. The second bullet on the product page talks about this.
Regards,
David A.
National Instruments
Applications Engineer -
Installing AXON daq in Labview
Hi, Has Anyone installed an Axon DAQ in Labview, Could anyone help me out how to install that hardware as i am unable to get labview drivers for it. I use LABVIEW 7.0 in Windows 2000
If you have access to a driver that was written in C, meaning that you have a .dll file that was written in C, then it is possible to use that driver with LabVIEW to accomplish your application. What you'll need to do is figure out how the DLL works (function definitions, function prototypes, etc.), and use the Call Library Function Nodes in LabVIEW to call that driver. The tutorials on Integrating DLLs in LabVIEW will assist you on the LabVIEW side of things.
In regards to finding a instrument driver that is already created for your Axon instrument, unless there is one already created, all you can do is submit a request on the o
riginal website that I directed you to. The rest will be up to good faith.
I hope that I was able to help you out. Good luck.
Jared A. -
Acquisition température capteur ds18b20 sous arduino via LabView
Bonjour,
cela fait déjà quelques jours que je me casse la tête sans pour autant avoir de solution à mon problème. Je cherche à acquérir la température de plusieurs capteurs ds18b20 via LabView (graphes principalement). J'utilise le toolkit Arduino on LabView mais je n'arrive pas vraiment à bien l'utiliser. Le principe de ce module est bien de permettre de ne pas toucher à une seule ligne de code ? Est-ce que je peux lire toute une chaîne de capteur via LabView ?
Par ailleurs je suis en train de consulter un exemple de la fonction "thermistor Read" mais je m'aperçoit que l'entrée de cette fonction est analogique, alors que mes capteurs sont digitaux, y a t-il un équivalent de cette fonction qui me correspondrai ?
Même un petit morceau de code me serait profitable histoire de savoir par où commencer
Merci d'avance pour vos réponses,
cordialement,
Cyril MilonBonjour Lykaa,
Avez-vous consulté le forum suivant ? : Arduino and Dallas DS1820 (one-wire)
et posté sur la communauté en question ? : LabVIEW Interface for Arduino
Voici également un lien qui pourrait vous être utile : How to use the DS18S20 and DS18B20 temperature sensors with Arduino
Cordialement,
Jérémy C.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
Travaux Pratiques d'initiation à LabVIEW et à la mesure
Du 2 au 23 octobre, partout en France -
Commander des filtres excel via labview
Bonjour,
J'aimerais commander des filtres dans un tableau excel via labview. Est-ce que cela est possible ?
Merci d'avance
Résolu !
Accéder à la solution.Pour ceux qui aurais le même problème, voici le lien qui m'a aidé
http://forums.ni.com/t5/LabVIEW/How-to-filter-a-excel-spreadsheet-column-using-Labview/m-p/256723/hi... -
Comunicacion Lookout Labview Realtime
Amigos National Instruments,
Como puedo comunicarme entre lookout y una aplicacion labview realtime dentro del PLC cFieldPoint?
Codial Saludo,
ManuelB
¡Resuelto!
Ir a solución.Hola Arturo,
Gracias por responder y por su tiempo,
Mira si yo realizo la aplicación utilizando Labview para monitorear y controlar el programa cFieldpoint no tendría problemas porque el intercambio de los datos es fácil y directo.
Yo también puedo monitorear y controlar la misma aplicación desde lookout a través de el protocolo Datasock, pero tengo que tener abierto labview como interfase entre los dos Scada, necesito solamente que lookout coloque los setpoint del proceso.
Lo que busco es sí se puede a través de este protocolo y otro medio poder controlar el programa que esta corriendo compilado dentro del cFielpoint directamente desde lookout sin la necesidad de tener corriendo Labview.
Cordial Saludo,
Manbe -
Using Keyboard or Mouse in LabView RealTime
Hi,
I would like to know whether keyboard or mouse can be used as input in LabView RealTime. If yes, can anyone explain me how to get the input coming from the keyboard or mouse?
ThanksHi e_Rik,
Could you explain what you are trying to do a little further? Currently the only real-time targets that can have a keyboard or mouse plugged into them is a PXI chassis or a desktop ETS system.
The following links also touch on the subject as well.
http://forums.ni.com/ni/board/message?board.id=170&message.id=147602&requireLogin=False
http://forums.ni.com/ni/board/message?board.id=170&message.id=149424&requireLogin=False
http://forums.ni.com/ni/board/message?board.id=180&message.id=27461&requireLogin=False
I double checked and currently there are no keyboard or mouse VIs that work on real-time targets. You may be able to get around this by finding a serial keyboard and mouse and using VISA calls. Hope that helps clarify, and have a good day.
Brian K.
Maybe you are looking for
-
During 98% of the installation, it prompted the following message "the procedure entry point GetProcessImageFileNameW could not be located in the dynamic link linrary PSAPI.dll" I am on window XP and Explorer 7. Does it matter to ignore the message a
-
Multiple select options for an input field
Hi All, We have a requirement where in we need to provide multiple select options for an input field in a BSP application and get output relevant to all the given inputs(do not require range). Please do let me know how to solve this. Thanks & Regards
-
The multiple desktops are gone. Cntrl/right arrow no longer works
The multiple desktops are gone. Cntrl/right arrow no longer works. Nor does dragging a window to the right.
-
Updated ipod last night and now when turned on tells me to coonect to itunes (picture of usb cable with arrow to itunes). I can't connect to itunes on computer because apple application support can't be found. Tells me to uninstall then reinstall i
-
Can Apple TV be plugged into 220V?
I bought an Apple TV in the US and want to use it now abroad. Can I plug in to 220V?