![]() ![]() ![]() The table below shows what value should be input for each number of stop bits you desire. ![]() Another method is to input the appropriate value that represents the number of stop bits into the VI. This will create an enumerated ring control that will pass the correct value to the VI for you. The best solution for this is to right-click on the input and create a constant. However, the input is an integer input and cannot take a value of 1.5 since this is a double. You can configure the number of stop bits to be either 1, 1.5, or 2, and it may seem intuitive to simply wire in this number to the stop bits input. One common cause of this error is wiring an incorrect value to the stop bits input of the VISA Configure Serial Port.vi. Next in your 'setup Serial.vi', put a Not A Number/Path/Refnum check on the output of the VISA Configure to see if it is valid. This includes the write commands themselves being sent to the device as it may not follow standard serial protocols. Run the VISA Configure Serial Port.vi as a stand alone selecting the VISA resource name from the drop down to see if you still get an error. ![]() Please check your serial hardware and your device's manual to ensure that the settings being passed by NI-VISA to the underlying hardware driver match both the serial bus and the hardware specifications. Refer to the tables below for the standard and maximum supported serial baud rates for NI serial hardware.SolutionThis error is caused by unsupported values being passed to the hardware driver by NI-VISA. If an unsupported value was used, the Return Data field will return hex error code 0xBFFF001E. The Return Data field should return no error.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |