LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Letancy timer - FTDI

Solved!
Go to solution

Hello All,

 

i use some device with FTDI chip, and latency timer should be reduce from 16ms to 3ms.

I created small VI that can do this, but there is a problem. In att.

 

For example i use one device and timer is set to 3ms.

Then I use another device, totally the same as first, but error occurred: -604.

 

Can someone advise what is happening here?

 

P.S. computer is not locked by the administrator.

 

Thanks

 

Download All
0 Kudos
Message 1 of 4
(2,125 Views)

Hi Milan,

 


@milan87 wrote:

Can someone advise what is happening here?


You're not allowed to access that registry key…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,122 Views)

OK, thanks on fast feedback.

 

How i can access to that registry for one device and not on another?

Have you idea how to overcome this?

0 Kudos
Message 3 of 4
(2,118 Views)
Solution
Accepted by topic author milan87

You need to change the permissions for that registry key in the registry editor (or the registry folder containing that key) to have write access for your user.

What might have happened is that the device was in the first situation for the first time enumerated under your current user account and the according permission was set, but the enumeration for the second device happened under different user credentials. These keys get created by the PnP device installation during the first time a device is detected based on the USB vendor and product ID and the reported serial number.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 4
(2,057 Views)