USB component and ECIOs
USB component and ECIOs
http://zone.ni.com/devzone/cda/tut/p/id/3677#toc2
tells me that there is a free/lite version of Labview called LabVIEW SignalExpress LE which seems to provide all the functionality I would need in a datalogger. I.e. display lots of graphs of the live A/D input data read from the PIC/ECIO and export/save them to PC. Its limitation (not in payed for versions) is that it can not then read this saved data back to look at it later for analysis. This would be a disadvantage, but maybe the data could be read with something else like Excel.
So if I was to buy your ECIO28P or 40P do you have all the drivers I need to read up to 10/13 voltages with it and transfer them to this version of Labview, without my having to do any VB or DLL programming? And can I also get Labview to change the scaling of the input by say telling an ECIO digital output to switch a relay to alter some scaling resistors?
tells me that there is a free/lite version of Labview called LabVIEW SignalExpress LE which seems to provide all the functionality I would need in a datalogger. I.e. display lots of graphs of the live A/D input data read from the PIC/ECIO and export/save them to PC. Its limitation (not in payed for versions) is that it can not then read this saved data back to look at it later for analysis. This would be a disadvantage, but maybe the data could be read with something else like Excel.
So if I was to buy your ECIO28P or 40P do you have all the drivers I need to read up to 10/13 voltages with it and transfer them to this version of Labview, without my having to do any VB or DLL programming? And can I also get Labview to change the scaling of the input by say telling an ECIO digital output to switch a relay to alter some scaling resistors?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: USB component and ECIOs
Hello
You may be better off using VB 2008. There is an express version that is free that allows you to save etc.
The ECIO28 and ECIO40 devices have sample drivers that work with the USB components in Flowcode.
Using Labview or VB and Flowcode is fairly easy and what you are explaining sounds fairly simple to acheive.
You may be better off using VB 2008. There is an express version that is free that allows you to save etc.
The ECIO28 and ECIO40 devices have sample drivers that work with the USB components in Flowcode.
Using Labview or VB and Flowcode is fairly easy and what you are explaining sounds fairly simple to acheive.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- goldwingers
- Posts: 118
- Joined: Wed Sep 06, 2006 1:22 pm
- Location: London
- Been thanked: 1 time
- Contact:
Re: USB component and ECIOs
I believe Labview needs to be connected to a PLC to operate. I dont think it will operate directly with a PIC
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: USB component and ECIOs
Labview can communicate via a COM port serial connection (USB Serial / RS232), Via a DLL (USB Slave) or via HID (USBHID). There are other ways but I wont go into them here. For the serial to work correctly you have to make sure you have installed the VISA runtime package.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: USB component and ECIOs
Have ordered a ECIO40P.
You provide an excellent range of drivers and examples, but the sheer volume of them does leave me a little confused. So what is the difference between:-
• The USB driver
• The DLL
• The .IN file that Flowcode generates?
E.g. in your excellent training video Control Panel knew that your ECIO hardware was called Ben’s Keypad – where did it get that name from when it’s not the name of your IN file?
Also the difference between a runtime version of Labview and Labview Express LE (the free version)? Is it like the difference between a read only version of Adobe Acrobat that can read PDF files, but can’t edit them, and the full version that can edit them?
So will the runtime only run the sample β€configuration’ files (i.e. files that tell Labview how to display and process data coming from the ECIO) that you have generated. Thus I am unable to modify this configuration to suit my datalogger’s design. Will these β€configuration’ files work with the Labview Express LE version, assuming they don’t ask it to use a function that is not in this Lite version, so I can edit them?
Sounds as if I need to use it as a USB slave but what is a HID?
You provide an excellent range of drivers and examples, but the sheer volume of them does leave me a little confused. So what is the difference between:-
• The USB driver
• The DLL
• The .IN file that Flowcode generates?
E.g. in your excellent training video Control Panel knew that your ECIO hardware was called Ben’s Keypad – where did it get that name from when it’s not the name of your IN file?
Also the difference between a runtime version of Labview and Labview Express LE (the free version)? Is it like the difference between a read only version of Adobe Acrobat that can read PDF files, but can’t edit them, and the full version that can edit them?
So will the runtime only run the sample β€configuration’ files (i.e. files that tell Labview how to display and process data coming from the ECIO) that you have generated. Thus I am unable to modify this configuration to suit my datalogger’s design. Will these β€configuration’ files work with the Labview Express LE version, assuming they don’t ask it to use a function that is not in this Lite version, so I can edit them?
Sounds as if I need to use it as a USB slave but what is a HID?
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: USB component and ECIOs
You don't necessarily need to go with LabView. There is a similar product called ProfiLab. The makers of ProfiLab also make something called "RealView" which is cheaper and might be what you are looking for.
Re: USB component and ECIOs
ProfiLab looks good but don’t see any ECIOs in the list of supported products so how would interfacing be done? Who provides the DLL, .IN or whatever is needed to get the ECIO to talk to ProfiLab?
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: USB component and ECIOs
We're currently looking at how to do this. One option is to implement your own protocol over a virtual COM port using the USBSerial component, which can then be accessed by ProfiLab. You should be able to do this immediately.
We are also looking at the possibility of creating a custom DLL that works with ProfiLab directly.
We are also looking at the possibility of creating a custom DLL that works with ProfiLab directly.
Re: USB component and ECIOs
One problem with ProfiLab is that it does not look as if it's been updated for 4 years so will it work with Vista and Windows 7 and will they clear any new bugs? Up to XP only is listed as compatible. I use XP.
Re: USB component and ECIOs
Are you saying then that it will not work in XP? Wife has a Vista laptop but will not be pleased wth my hijacking it!Benj wrote:Labview can communicate via a COM port serial connection (USB Serial / RS232), Via a DLL (USB Slave) or via HID (USBHID). There are other ways but I wont go into them here. For the serial to work correctly you have to make sure you have installed the VISA runtime package.
THink I will be using USB slave but all depends what support/drivers/DLLs you have provided.
What is HID?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: USB component and ECIOs
Hello
1) The VISA runtime package is a labview plugin. The USB works on windows 2000 right the way through to windows 7. You should have no problems on XP.
2) The USB slave communicates via a DLL which is available as part of the USB pack (v3) or part of the examples pack (v4). There is also a complete driver included in the examples.
3) HID stands for Human Interface Device, normally this applies to keyboards and mice etc but you can also create joysticks, speakers, custom devices etc.
1) The VISA runtime package is a labview plugin. The USB works on windows 2000 right the way through to windows 7. You should have no problems on XP.
2) The USB slave communicates via a DLL which is available as part of the USB pack (v3) or part of the examples pack (v4). There is also a complete driver included in the examples.
3) HID stands for Human Interface Device, normally this applies to keyboards and mice etc but you can also create joysticks, speakers, custom devices etc.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: USB component and ECIOs
The Labview examples you supply say they need the v8 runtime engine, implying that they won’t run with any other version. Is there any reason they won’t work with the latest Labview Signal Express LE v9 which also contains a runtime engine, but not sure which version. At one point in my installation it listed it as v7.1.1 but elsewhere it seemed to be at least v8 or maybe v9. When I clicked on the Labview file in your USB serial examples it certainly opened with the part of my Labview Signal Express LE (there are 81 separate bits/plugins/sub-programmes in it!) but I need to go through your help files to work out what your example is actually supposed to do.
Have my ECIO40P now and have it working with your sample file but need to work out how to interface with Labview. I fear that your help files, whilst useful will not help enough. E.g. Labview Signal Express LE is expecting the connected hardware to conform the NI’s IVI standard so not clear how an ECIO can be made to look like one or how to get it to recognise other than IVI.
See http://www.vektrex.com/Support/kb/Instr ... rivers.PDF for β€tutorial’ on IVI.
Have my ECIO40P now and have it working with your sample file but need to work out how to interface with Labview. I fear that your help files, whilst useful will not help enough. E.g. Labview Signal Express LE is expecting the connected hardware to conform the NI’s IVI standard so not clear how an ECIO can be made to look like one or how to get it to recognise other than IVI.
See http://www.vektrex.com/Support/kb/Instr ... rivers.PDF for β€tutorial’ on IVI.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: USB component and ECIOs
Hello
If you can use the DLL interface VI then you can use the USB slave component on an ECIO.
If you can use VISA or Serial VI's then you can use the USB serial on an ECIO.
To run the precompiled Labview examples you must use v8.0 of the runtime. To load the example .vi files simply requires a version of Labview 8.0 or later.The Labview examples you supply say they need the v8 runtime engine, implying that they won’t run with any other version.
I have not used Labview signal express but it does sound like it may be a NI hardware only item.Labview Signal Express LE is expecting the connected hardware to conform the NI’s IVI standard so not clear how an ECIO can be made to look like one or how to get it to recognise other than IVI.
If you can use the DLL interface VI then you can use the USB slave component on an ECIO.
If you can use VISA or Serial VI's then you can use the USB serial on an ECIO.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: USB component and ECIOs
The document you linked does talk about VISA serial so you should at least be able to get the USB serial component up and running.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel