From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

about write command into register

the comand format is as follows:

command format.png

 

 

this is the string I configured:

 

format_configure.png

 

but the register for FineTuneFrequency(FTF) is signed 16-bit:

ftf command.png

 

how should I write the register?? thanks!

0 Kudos
Message 1 of 8
(3,129 Views)
0 Kudos
Message 2 of 8
(3,110 Views)

duplicate what?

0 Kudos
Message 3 of 8
(3,106 Views)
Duplicate post. You already asked the same time and got some answers.
Message 4 of 8
(3,101 Views)

Right off hand I would say the code you are showing should work fine. The difference between signed and unsigned is not importance -- they are both 16 bits so the command packet should build the same. Just make sure the bytes get inserted in the right order.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 5 of 8
(3,081 Views)

it says the register for FTF is 16-bit, but I use 8-bit. I don't know if my configuration is right.......

0 Kudos
Message 6 of 8
(3,059 Views)
Please stick to your original thread. It does no one any good to have your question and answers scattered all over the place. It is also considered rude.
0 Kudos
Message 7 of 8
(3,052 Views)
The thing is, an 8bit value will fit into a 16-bit space. Just make sure that the most significant 8 bits are all set to 0.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 8 of 8
(3,041 Views)