LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

DEVELOP A NEW INSTRUMENT DRIVER USING LABWINDOWS

Hi,
    I am trying to obtain data a biomedical instrument(head tracking system ) using labwindows. This instrument communicates using the serial port. Ascension technology is the manufacturer of this device and it does not have instrument driver for labwindows. However they do have source files in c which can be used to retrieve data from the device(i mean using C programming u can communicate with the device m not sure if they can be used with labwindows)
 
Can i retrieve data from the head tracking system using normal serial communication without developing an instrument driver.(using the serial.uir provided in sample examples
 
Do I need to develop a new instrument driver using VISA.If so how do i proceed.
 
 
 
I am not clear on how to proceed can u please help me with this one.
 
Thanking you in advance
 
KUNAL CHANIARY
 
 
 
 
 
 
 
0 Kudos
Message 1 of 2
(2,817 Views)
Their source  code for serial communication should be easily portable to CVI if written in C language: they have maybe published a document on their communications protocol that can help you in understanding this code so that you can manage to make it functional in CVI. We have used several instruments connected via RS232 and never have had problems in integrating them in CVI applications. Wether to use VISA or standard RS232 library depends on how you are familiar with each one of them. This is basically the first step in your development.
 
Once you have ported your code to CVI, you can decide to encapsulate it in an instrument driver, wether to do it or not depends on how much you will be using this instrument: in my opinion it is not necessary if you are planning to use it in this only application, while it can save a lot of your time in developing if you plan to use this instrument in several applications of yours. Developing an instrument driver needs a good concept design in defining the functions so that they are flexible (i.e. they can used in several application environments) and contemporarily are robust and efficient; in this approach, you can expect time savings only if you re-use such a driver several time so that you split driver development time on all projects.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,810 Views)