04-19-2013 01:24 PM
We are using the COMSOFT cRIO-PB Profibus card (http://www.ni.com/white-paper/11078/en). My understanding is that the timeout Boolean from FPGA_SPI_ReadWrite.vi is asserted when SPI times out on the cRIO chassis (SPI not responding). I am looking for a way to see or set what that timeout is. I'd like to at least see what it is and document it, if not change it. Any way to do this?
LabVIEW 2009 SP1, COMSOFT PB Driver: V1.3 07.05.2009
04-19-2013 02:26 PM - edited 04-19-2013 02:27 PM
Hi Iarry,
Do you work for/with CanRig?
The timeout could be network related - not just spy. The timeout you are probably running up against is a 1.5ms hardcoded timeout for the master initialization command. To test this, confirm that you haven't transferred any data to slaves and adjusting the timeout values in the PGA_SPI_ReadWrite.vi has no effect no the situation.
Some probable reasons for the timeout:
1) The module were configured incorrectly.
2) The wrong VIs were being use (master on slave module & vice versa).
3) There was a hardware issue with the module.
As steps forward:
1) Check the status lights on the cRIO module
2) Check what module you are using - is it a master or slave? Only the master needs to be configured with the configurator.