05-18-2011 09:51 AM
Hi ,
my task is to control HP 4142 B Modular DC source through labview. I am able to communicate with 4142 and able to get the values from it.
I am using different ways in sending commands for the instrument. One is that i am sending command at a time in string constant and the other by using string concantenation for multiple use. I have attached example vi. so that u can understand my exact problem.
my problem is when i am sending command with string constant , it works fine and i am able read the values from it. where as when i am using with string concantenation i am not able to get the values from the instrument. In string concantentaion , i included code display too..
Thanks
2249
05-18-2011 10:56 AM
You aren't sending the same command with the concantanate string. Clean up the wiring and see how you've miswired it.
05-18-2011 11:14 AM
no, i have attached vi only to understand my problem its not the actual vi...now i got the solution in string concantenation i am using directly \r\n for the command its not working ...for that i have used [" end of line constant" and "line feed constant"] for each "\r\n" and works fine now.
Thanks
2249
05-18-2011 11:23 AM
the actual vi...it works fine..