Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

smart camera time server problem

time server polling does not appear to be working......
anyway to manually set the time on this device?
(host works fine with same NTP time server - fwiw, time server is not on same subnet)
 
 
Device: NI 1742 Smart Camera
IP Settings: Obtain IP settings from DHCP server
Time Server: defined manually
 
####
#Date: THU, JAN 01, 1970 12:00:14 AM
#OSName: VxWorks
#OSVers: 6.3
#AppName: /c/ni-rt/system/lvrt.out
#Version: 8.5
#AppKind: AppLib
0 Kudos
Message 1 of 19
(5,248 Views)
Let me know if I understand this correctly.  Your device does not seem to be able to access the time server on your host computer and your host computer is on a different subnet?
Mark
NI App Software R&D
0 Kudos
Message 2 of 19
(5,216 Views)

no, I put in the IP address for our institution's master NTP time server.

is there some other network time protocol in play here?
if so, that configuration box show be labeled in a better way to indicate this....

screen capture attached...

0 Kudos
Message 3 of 19
(5,213 Views)
Hi Mal,
 
Currently we only support SNTP, not NTP. Most NTP servers also respond to SNTP requests, but perhaps yours doesn't. You may need to enable SNTP on the device explicitly.
 
-Eric
0 Kudos
Message 4 of 19
(5,205 Views)
Your time server must be in the same subnet as your controller in order for it work.
Mark
NI App Software R&D
0 Kudos
Message 5 of 19
(5,199 Views)


BLAQmx wrote:
Your time server must be in the same subnet as your controller in order for it work.


Mark, what are you basing this on? There should be no reason why this would need to be the case...
 
-Eric
0 Kudos
Message 6 of 19
(5,172 Views)


so is there a way to manually set the time on a VxWorks RT target?


0 Kudos
Message 7 of 19
(5,159 Views)
Hi Mal,
 
Under the Real Time pallete there is a VI called "RT Set Date and Time.vi". This should allow you to set the time from within your application.
 
-Eric
0 Kudos
Message 8 of 19
(5,153 Views)
My mistake.  There is no requirement for the time server to the same subnet.
Mark
NI App Software R&D
Message 9 of 19
(5,130 Views)
so is there a simple solution in the VBAI app or on the smart camera to correct this problem or do we just live with it?
0 Kudos
Message 10 of 19
(4,457 Views)