CY7C65215-32LTXI with NI VISA

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
vivek9856
Level 1
Level 1
First reply posted First question asked Welcome!

We have a PCB with a CY7C65215-32LTXI , and we are trying to get the two virtual COM ports to work with National Instruments LabVIEW (NI VISA). While we are able to write to the port just fine in any terminal application, LabVIEW returns a communication error to the port any time we attempt to write to the device (VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error.).

We are currently using a driver dated from 2018 (Version 3.13.0.84) for the two ports and USB serial adapter devices, and 1.2.3.23 for the USB-Serial (Dual Channel) Vendor MFG device. Is there any chance updated drivers are available for this IC that could resolve our VISA communication issues?

0 Likes
1 Solution
Meghavi
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 10 likes received

Hi,

Apologies for the delayed response. Please try using Cypress's USB Serial DVK and check whether you are facing the same issue.

If you are facing the same issue, you can try to configure your hardware in NI MAX and check whether the same issue occurs or not. To configure the hardware, follow the steps mentioned below:
1) Open NI MAX.
2) Expand Devices and Interfaces. Then select the COM port of interest.
3) Select Open VISA Test Panel. Under the Serial Setting tab, set a size of Transmit Buffer and click on the Set Size.
4) Now, in the Input/Output tab, input a supported command and select Write. Refer to your instrument’s user manual for supported commands.
5) The display window will show the Write Operation and Return Count. You can also confirm by checking No Error message in Return Data window.

Regards 

View solution in original post

0 Likes
3 Replies
Meghavi
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 10 likes received

Hi,

Can you please let us know from where did you get 1.2.3.24 driver version for the vendor interface?

You can ensure that no other utility/application is using the I/O ports of the device at the same time. Also, please let us know about the parameter settings if any done in Labview. Meanwhile, we will try to reproduce the issue at our end.

Regards

0 Likes
lock attach
Attachments are accessible only for community members.

Hi Meghavi, 

 

Please see some screenshots in the attached PDF showing the driver versions we are using. These are the latest versions obtained by updating each of the drivers through Windows Update. (Device Manger > Double Click Device > Drivers > Update Drivers > Search Automatically). 

I also attached a screenshot of the error that LabVIEW is returning when we do a simple VISA Open, VISA Write, and VISA Close. The error appears on VISA Write (VISA Open returns perfectly OK). See below screenshot.  

I confirmed the port isn't held open by any other applications, and have rebooted the development PC multiple times to confirm. The device had been configured as 115200 8N1 using the Cypress configuration utility, and is configured with the same settings in device manager and NI MAX.  

 

vivek9856_1-1630589882932.png

 

0 Likes
Meghavi
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 10 likes received

Hi,

Apologies for the delayed response. Please try using Cypress's USB Serial DVK and check whether you are facing the same issue.

If you are facing the same issue, you can try to configure your hardware in NI MAX and check whether the same issue occurs or not. To configure the hardware, follow the steps mentioned below:
1) Open NI MAX.
2) Expand Devices and Interfaces. Then select the COM port of interest.
3) Select Open VISA Test Panel. Under the Serial Setting tab, set a size of Transmit Buffer and click on the Set Size.
4) Now, in the Input/Output tab, input a supported command and select Write. Refer to your instrument’s user manual for supported commands.
5) The display window will show the Write Operation and Return Count. You can also confirm by checking No Error message in Return Data window.

Regards 

0 Likes