11-07-2012 09:42 AM
Hello!
I am developing a similar project, in my case I use a PIC 16F877 and a MAX 232, I've implemented in LabVIEW software to write ActiveX controls that acquire data in an Excel workbook (I am using LabVIEW 8.6 and Office 2007). But I have several questions, as I am developing a stand alone application (include the runtime engine, because my application must run on computers without LabVIEW) and I need that data is received on the PC through a USB port, and decided to use a USB-RS232 adapter.
Then I need to know how to implement the interface between LabVIEW and the adapter. My adapter has software installation, so I wonder if I should include it in "Build Specifications" (as always included file) when I am creating my application, or if I should install the adapter software before? I was reading about USB devices and I found that I must use MAX to recognize them. No way to do this without using MAX? is possible to control and communicate with the adapter using VISA-USB? Where I can get more information about VISA-USB?
11-07-2012 09:52 AM
You should include the USB-RS232 adapter software in the Installer build spec. This will make a seamless installer for your applicatoin
11-07-2012 10:19 AM
Hi again!
Just include the adapter software in the installer?
No need to configure VISA-> USB?
Could you explain how it would work the interface between my application and the adapter in this case?
In the VI Setup to receive data on the serial port using VISA and configuring the adapter requires a USB port that will receive the data. But I do not know how to implement (in VI) receipt of data via USB port (configured for adaptdor) instead of the serial port?
Can you tell me where I can find more information about VISA-USB?
11-18-2012 10:41 PM
Dear Sir.
As you told to write the PIC program by using C or PIC level language,yes now I did the whole controlling part of the PIC in C,now problem is how to use these C program in my labVIEW block diagram.
Thanking You.
Raikar A G
12-17-2012 05:13 AM
Raikar A G
12-18-2012 01:38 PM
The C Program will need to be compiled, then downloaded to the PIC. You do not call it on the block diagram
12-18-2012 10:05 PM
Dear Sir.
Now i am plan to dump the c code on 8051 or in PIC then by using RS232 serial communication i am going to communicate with LabVIEW through MAX232 IC,is I am in right way.
One more sir I didn't get answer for my last query, which DAQ will suitable for my application.
Thanking You
Raikar A G
03-27-2013 08:03 AM
Dear Brandyn.
Hope you people are doing well,i have one problem.
I am trying to measure the voltage across the low value resistance which is 110ohm and 16ohm in NI 6251,i am applying 5vdc through a known 50Ko resistance to drop 0.1ma current to measure the resistacne value,when i am measuring i am getting some 4 to 6 ohm fluctuvation in measurements,so can any one tell how to solve this problem,because i need to measure the constant value,even i tried by giving +5vdc and gnd from daq pin to rathere than applying 5vdc from power supply,at that time also i got fluctuvation,so here i attached the snap which i measured in MAX for both...
Thanking You.
Raikar A G
08-01-2013 01:35 PM
What about to FLASH formware to a DSPIC33F64?
Any body use a LabView to write the firmware (HEX file) to the PIC? in what port? UART?, ICSP? I2C?