07-17-2024 07:00 AM
In NI-MAX try to do a Refresh. Menu View->Refresh or F5.
As long as the serial port is not visible in NI-MAX you can try whatever you like but it won't work in LabVIEW either.
Also you are saying the serial port is visible in the Device Manager. As what and do you see any question mark or other symbol on that device entry?
07-18-2024 02:53 AM
Hi,
There is no error or any highlight. The device comport name is very clear in device manager.
07-18-2024 04:32 AM
Hi,
This is newly created vi.
Below is the error.
Under NI-Max
I am connected USB cable from Instrument to PC.
I don't know why it is not detecting in NI-MAX software.
07-18-2024 06:33 AM - edited 07-18-2024 06:34 AM
You (re)post quite a bit of pictures, but as far as the Device Manager goes, all we have is your word that your port is visible in there. Why not post a pic of that too?
As long as the port is not visible in NI-MAX, you can jump high, low, forward and backward, but LabVIEW will not be able to access it!!! Did you do F5 or View->Refresh in NI-MAX?
07-18-2024 09:02 AM
First thing I would check is to ensure you have NI-Serial installed. You should see it in NI-MAX if you expand the Software section.
07-19-2024 10:29 AM
Hi,
I installed again NI-Visa software and after that it detected.
I have 4 different type of test Vi's. I want to create common program. Steps of program as below.
1) When I click on Start, comport address should read from config file. Config.ini (From path)
2) Once initialization is ok, Operator need to enter the name.
4) Select the model type in LabVIEW as per data base file. Global_Data.xls. From define path.
5) As per define test parameter, it should start testing. Example Global_Data.xls,
variable_name |
Part/name |
Voltage_In_Kv |
Maximum_Current_Is_Set_At_mA |
Test_Time |
RAMP_Second_Testing_Time |
6) Once test is complete (pass/Fail) , the test result needs to write into excel. (18-07-2024 example).
Please advice.
07-19-2024 10:32 AM
Updated zip
07-21-2024 01:34 PM
@Maheboob wrote:
Hi,
Under NI-Max
I am connected USB cable from Instrument to PC.
I don't know why it is not detecting in NI-MAX software.
Hey there,
You'll need to install the GPT-9800 USB driver first before it can enumerate as a serial port and be visible in both Device Manager and NI-MAX. You can download it here
Once that's installed, you should see it available. If you still don't, you can try physically cycling the USB connection.
You can try then a *IDN? in NI-MAX to see if you get simple communication.
Note that you may also need to configure the port on the Hipot front panel to switch from RS232 to USB. Default baud rate in USB mode for this series device is 115,200.
Best of Luck.
07-22-2024 11:24 AM
Hello All,
This is VI, i want to add user information such User name or operator name, and after testing complete the data needs to be captured into excel/csv file.
Such as date & time, operator name, Model name/Number, DCV voltage, Timer, Rise time and results (pass/fail). Advice
07-22-2024 11:33 AM
If you have the hardware communicating and you're ready to write the top-level program, the pattern is obvious. State Machine.
You want to run a program that:
Initializes hardware
Loads configuration file
Setup the hardware and variables from the config
Idle while waiting for operator choice
Execute one of several tests
Display data
Stores data
Shutdown hardware
Quit program
Maybe have and ERROR state to jump to if there's a problem.
Search for LabVIEW state machine tutorial and check out the built-in template. This is the most popular coding pattern and is very important to learn.