10-16-2009 03:20 PM
ok, thanks
second question, nerver mind , thanks again
10-19-2009 09:20 AM
Hello Dennis,
Just one small thing I did not mention before, the development computer is different from the target one. In other words, the one where I am modifying the code will not be the one with the executable. Therefore, when I am adding a new device to MAX I cannot test if the communication or commands are being sent.
And I cannot install LabVIEW on the target computer, the only thing I am installing there is the executable Software, and that executable must be able to send the commands to the Signal Generator. Therefore, I was using the example from NI in regards to the communication between TCP client and TCP server in order to communicate from the target computer to the IP address from the Signal Generator.
Please let me know if I am on the right track for this, thanks
10-19-2009 09:47 AM
10-19-2009 09:57 AM
that is the issue, I only want to install the stand alone application in the pc that is connected to the Signal Generator, nothing else.I know that the installer can contain the NI VISA runtime engine, but what about the others.
Will it be difficult to ask for an example from you in order to see how is it that you are telling me, because I get confused on what needs to be included in my code so that the PC can send commands to the SG.
10-19-2009 10:11 AM
Yes, the installer can include the app, the LabVIEW run-time, the NI-VISA run-time, MAX, and the hardware config from the development pc. All of these except hardware config are selectable from Additional Installers. To include hardware config, go to the hardware configuration category where you can select to include it and also create it by clicking the 'Configure' button.
10-19-2009 10:38 AM
Thanks Dennis,
On my code I am sending a command to set up the frequency to the SG. Should it be enough just to include the AGILENT PSG MX VIs or should I also include the function command VI and the TCPIP that I have in my code?
thanks
10-19-2009 11:06 AM
Include what where? I thought you were building an exe? Whatever VIs that you have would be included in the exe.
10-19-2009 11:14 AM
Also how can I be sure that my code is sending the frequency to the SG? do I need to create the installer and then test it on the target PC or can I simulate it here before?
THanks
10-19-2009 11:15 AM
did you took a look at my code?
I mean include them on my code
10-19-2009 11:40 AM
I have no idea what the relevance of that TCP code is. If you plan on using the VISA driver, that is all that you need. If you don't want ot use the VISA driver, that would be up to you and you can write the code from scratch.
Are you saying you don't have access to the instrument at all? If so, I don't know of any thing you could do to simulate it. If you had used the driver in the first place, you would probably have few problems in moving to an ethernet connection.