What exactly is your application?
'send a square wave over LAN' does not describe your objective clearly.
You want to generate a Square wave on one of the analog outputs of a DAQ card placed in a PC, and control this process using another PC in the LAN
did i get your query right?
Well not exactly, I think I wrote the question in a wrong way, well there is no DAQ card in my PC and I dont want to control any process,
I just want to send a square wave to the PXI-6259 M series board, well as I told earlier I am new to Labview , so what I wanted to know Exactly is:
Is the procedure to send a signal to a device directly connected to the computer and the device connected to Lan different ?
and can u give me some instructions on how to communicate.
Thank you .
Sending a square wave to a card on a local machine vs. a card over a LAN connection require different procedures. If you want to send the signal to the card on a local machine, then you can simply use one of the shipping examples. However, if you want to send the square wave to a card over a LAN connection, then you must have DAQmx 8.0 and use OPC. Here are the links to a knowledgebase and a tutorial with more information about this:
It sounds like you are close to completing your application. For your first two questions: are you on the host or client computer when performing these operations? I need more precise information on your procedure. Screenshots would be helpful.
You will be able to create a program on the client computer to output voltages to the card on the host computer. Simply follow the steps in the knowledgebase to setup the host computer. Create a shared variable on the client computer and bind it to shared global virtual channel on the network. You can write values to the variable on the client computer and they will be updated on the host computer.