LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PIC18F4550

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.  

0 Kudos
Message 1 of 29
(4,183 Views)

By "control" what do you mean? What interface are you using to communicate between LabVIEW and the microcontroller?

Certified LabVIEW Architect
Certified Professional Instructor
0 Kudos
Message 2 of 29
(4,136 Views)

HI 

 

I plan to use winusd driver to interface PIC18F4550 to communicate with LabVIEW by using USB port...........

 

 

Raikar A G

0 Kudos
Message 3 of 29
(4,128 Views)

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?

Certified LabVIEW Architect
Certified Professional Instructor
0 Kudos
Message 4 of 29
(4,125 Views)

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 

0 Kudos
Message 5 of 29
(4,121 Views)

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?

Certified LabVIEW Architect
Certified Professional Instructor
0 Kudos
Message 6 of 29
(4,108 Views)

By the way, Im only asking questions because I dont want to come across as condescending.

Certified LabVIEW Architect
Certified Professional Instructor
0 Kudos
Message 7 of 29
(4,106 Views)

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

0 Kudos
Message 8 of 29
(4,097 Views)

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?

Certified LabVIEW Architect
Certified Professional Instructor
0 Kudos
Message 9 of 29
(4,093 Views)

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 

0 Kudos
Message 10 of 29
(4,090 Views)