11-18-2013 09:27 AM
Hie,
I have to create a VI for Digital mass flow controller type MF1 from MKS, It has an mini USB setup interface and USB 2.0 Process interface there is a command list which can be sent and we get a feedback of the same ,
it should
11-20-2013 11:17 AM
Hi Patel89,
You will have to communicate with the device as a USB RAW device. Check out the tutorial listed here: http://www.ni.com/white-paper/4478/en/
Please note that you will be creating the VISA driver using the NI-VISA Driver Wizard.
Kind regards,
Rick Wagner
11-20-2013 01:56 PM
Actually, the manual says the device can appear as a normal serial interface so using the VISA wizard and USB RAW would be a huge mistake.
11-20-2013 02:09 PM
True enough ...
11-20-2013 02:10 PM
Yep ...
11-21-2013 02:00 AM
Hi patel89,
as a start up for using VISA for serial communication, I would suggest you to have a look on this introduction/tutorial:
http://www.ni.com/support/visa/vintro.pdf
Moreover, in http://www.ni.com/support/visa/ you will find other resources such as LV examples and reading materials.
Best regards
11-22-2013 03:59 PM
I found this VI library. It is not for your device and it was from LabVIEW 5. However, I updated to LabVIEW 2013 and posted it. It should at least give you and example of this type of communication. The website I got it from attributes it to Thomas Roth. Hope it helps ...
Kind regards,
Rick Wagner
11-29-2013 06:59 AM
so I should use USB INSTR Class (USBTMC) which uses read and write instruction to communicate with my device
11-29-2013 11:20 AM
12-02-2013 08:34 AM
Many instrument manufacturers are using chip sets that "convert" USB to a RS-232 serial port. One of the chip makers is FTDI. They provide a driver that shows up in the operating system (and MAX) as a serial port. However, if your device is not showing up as a serial port it may be because of a problem assigning the port number. Please look at the attached application note from Digalog Systems.