10-25-2012 12:36 AM
Hi Dear All.
I am developing a tester using LabVIEW for PCB,in this circuit there will be a Microchip -11AA010T-I/TT,I need to read the data and I need to write the data in this flash memory in each execution,I am using a PIC18F4550 Microcontroller to read and write in flash memory,I didn't get how to control the PIC18F4550 Microcontroller by communicating with LabVIEW.
10-29-2012 05:38 PM
By "control" what do you mean? What interface are you using to communicate between LabVIEW and the microcontroller?
10-30-2012 12:07 AM
HI
I plan to use winusd driver to interface PIC18F4550 to communicate with LabVIEW by using USB port...........
Raikar A G
10-30-2012 12:15 AM
Hmm ok. In the past I have written very simple code for the PIC micro controller. Essentially the code wrote data to the serial pins of the microcontroller. Then I would use LabVIEW visa functions to read the data in LabVIEW.
You said you plan on using the winusd driver. Have you used this before for this purpose?
10-30-2012 12:23 AM
Dear Brandyn.
No i am not used winusb driver before,this is my 1st project on PIC,is there any beter way to communicate,please help me on this case.......
Raikar
10-30-2012 08:56 AM
Ok. So the easiest way to do this in my opinion is the following:
1. The PIC microcontroller will act as a passthrough between LabVIEW and the flash memory of the other device. You will need to write a program (for the PIC) either in C or PIC Basic that will read data via RS232 to write to the other device and the program will also need to read from the other device and write that data to the RS232 port.
Flash Memory ->PIC Program->LabVIEW
LabVIEW ->PIC Program->Flash Memory
I am unsure of the interface between the other device and the PIC microcontroller. I would imagine there are some pins on the PIC you can wire directly to the other device and your PIC program will need to have a function that does this.
The interface between LabVIEW (host computer) and the PIC microcontroller is RS232.
2. You might need a Max232 chip to convert the voltages to the right voltage for RS232 Communication
3. You will need an RS232 to USB converter with the neccessary drivers.
4. Your LabVIEW program will need to read and write to the RS232 port via VISA functions.
What is your skill level in LabVIEW?
10-30-2012 09:08 AM
By the way, Im only asking questions because I dont want to come across as condescending.
10-30-2012 10:53 AM
Dear Sir.
I am Beginner in using LabVIEW,but I have better knowledge and view in LabVIEW,and how it will help us in development,I have dream to best
LabVIEW developer,so please help me on this.
Raikar A G
10-30-2012 11:00 AM
So lets lay out a framework for all of the pieces that go together. What are the requirements for the host application (LabVIEW)
1. What all does this application need to do?
2. Does it need to be an exe or run in the LabVIEW IDE?
3. Are you the only person on this project?
4. What is the time frame for development?
5. Are you making the test board or is that being done by someone else?
6. Will the scope of what the application needs to do expand over time?
7. What are the User Interface requirements?
10-30-2012 11:16 AM
Dear Sir.
I will explain you regarding my complete project,how ever before i told I am going to develope a Functional Test Station for PCB,which is having 256 multiple pannel card.in this in each card Resistance and one Flash memory chip will be mounted, i am going to switching single panel by making one prototype switching circuit by using spdt Max4756 switching IC because there will be two type resistor and ADG732 MUX to select SPDT IC ,from MUX i am connecting to NI PCI 6289 Multifunction daq card,and i am controlling MUX and SWITCHING IC by DIO card,same type MUX i am going to use for selecting the Flash Memory I/O and from ADG732 to PIC 18F4550,here to interface the PCB pannel i am going for one bed of nail fixture,from that bed of nail fixture to interface board and to daq,
So i hope you got Idea in my project,in this i am confused in PIC 18F4550 part we discussed before,because in this one we need to measure the resistance and I need to validate these details already written on the flash memory at 0x20 and 0x 24 locations respectively, i need to check whether value will be matching or not,so kindly advise me on this,it was my first official project on LabVIEW.
Raikar A G