01-31-2013 03:57 AM - edited 01-31-2013 04:05 AM
hi!!
I am using HBM MGCplus DAQ and i have installed the driver as instructed by the LABVIEW Instrument drivers helpdesk. But unfortunately this driver is programmed only for GPIB but i am using DB25 port(serial communication).. Is that possible to add VISA for serial communication in the existing program??
Please find below the total conversation with Labview and HBM MGCplus DAQ..
This is the instrument driver i installed as instructed by the NI1. Remove the dir.mnu, actndata.mnu, confampl.mnu, confstat.mnu, and initexit.mnu files from C:\Program Files\National Instruments\LV [version]\instr.lib\hbmmgcp. The instr.lib folder holds a folder for each driver installed for that specific version of LabVIEW.
2. Replace those files with the attached *.mnu files.
3. Restart LabVIEW.
I was able to get this to work on a test machine here. If that does not work for you, then remove the *.mnu files from step one (except for dir.mnu) and then rebuild the directory structure guided by the VI tree and the menu structure of other drivers on the Instrument I/O » Instrument Drivers palette. At the top level, there should be an Initialize, Close, VI Tree, Config, Action, and Utility icon/subpalette. I went ahead and included the shipping examples in a subpalette in my fix for this driver. To start rebuilding the directory, navigate to Tools » Advanced » Edit Palette Set... Then find the HBM_mgcp114 driver palette from the instrument driver palette and right click to create new *.mnu files an associate them with the VIs in the *.llb files located in the hbmmgcp folder. The readme file will advise you as to what VIs are located in which *.llb file. Once we can validate my changes, we will have a new version of the driver released for download on the internet, but I don't expect that to occur until after the new year.![]()
When I was finished, my hbmmgcp directory looked like this:
This reply i got from HBMthis MGCplus instrument driver for Labview was not developed by HBM unfortunately. Therefore we don't support this driver. I have seen this driver once it is a very old Labview driver for the GPIB and RS232 interface with application examples. This driver was programmed by the following companies:Maybe these companies can support you and send you an operating manual for this Labview driver. (I asked this company as well, but they said I can update it )This old MGCplus driver seems to be made for CP12/CP32 communication processors and for the GPIB interface only. The driver VIs and application examples seems to run in Labview 2011 (no error -> the program examples can be started), but the VIs will not work with a CP22 or CP42 (setting is not allowed error below). So I can't do a test, because we don't have GPIB interfaces available. The driver was developed in 1999 and of course because of the use of all old low level commands for the CP12/CP32 it will not work with a MGcplus with CP42. In the screenshot you can see the COM settings, but VI "MGC+ clean up Init" does only work with GPIB, this causes an error when the device is connected via the RS232 interface.i am using http://de.rs-online.com/web/p/schnittstellenadapter/5140844/?searchTerm=USB+auf+Seriell%2FParallel+A... as interface between DAQ and my laptop...Pls help me out..Thanq
01-31-2013 09:46 AM
None of your images are attached.
I also don't understand your comment about GPIB only. I looked at the MGC Plus driver and the download page says it supports serial and the MGCplus Init function in the driver configures the serial port if you select a serial port for the VISA Resource Name. Simply saying you get an error is not enough. You must provide details on the actual error number.
p.s. Looking a bit closer, the init function has a 'Old VISA Open' function. This must be replaced with the VISA Open on the palette. Right click and select Replace. Browse to the VISA Open. Delete the Instrument Descriptor string control. Show the VISA Session control. Wire this to the connector pane where the string control was.
01-31-2013 04:50 PM - edited 01-31-2013 04:53 PM
Thank you for the reply... Is that wise decision to program myself with the help of mgc plus tree!!!
i will note down of ur point in replacing the old visa open..
i am using http://de.rs-online.com/web/p/schnittstellenadapter/5140844/?searchTerm=USB+auf+Seriell%2FParallel+A... as interface between my DAQ and PC, my question is, will this communication acts as serial??
thanq
01-31-2013 05:28 PM
01-31-2013 08:39 PM
01-31-2013 08:39 PM
01-31-2013 09:11 PM
02-01-2013 06:00 AM
the USB side is connected to the laptop and DB25 pin is connected to the DAQ.... In datasheet it stated that, DB25 is parallel port... Now my question is that, should I use serial VISA or is there anything for parallel port communication??
02-01-2013 09:37 AM - edited 02-01-2013 09:38 AM
@PROing wrote:
should I use serial VISA or is there anything for parallel port communication??
You do realize serial port communication is not the same as parallel port communication.