FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Datasocket write only works with url on cFP-1808

Hello,

I am trying to use the advanced datasocket "reset" command to reset my cFP-1808.  Look at the images below, if the full url is wired to the write, then the reset works.  However, if a DS ref is opened then the reset doesn't.  Any suggestions and will this be an issue is I use DS refs to write to IO?

 

As a side note, why do the cFP-1808 modules ship with firmware version 6.01, when 6.05 was release in 2006?  Why after upgrading to 6.05 does MAX report 6.06?

 

Thanks,

Brian

Brian Gangloff
DataAct Incorporated
0 Kudos
Message 1 of 4
(6,612 Views)

Hello Brian,

 

I was able to get your VI working in the False case by changing the Mode for DS Open to "Write" instead of "Read/Write". Does this fix work for your program?

 

Yes, the cFP-1808 ships with 6.01 firmware. I guess along the way of developing newer versions, we decided to just make the updates available online rather than create new discs to ship with the hardware. I don't know if or why one idea is better than the other, or who ultimately made that decision at NI. Also, the download for firmware 6.05 appears to include both 6.05 and 6.06. Might just be something that was overlooked when we upgraded again. R&D churns out those updates and new products!

Product Support Engineer
National Instruments
0 Kudos
Message 2 of 4
(6,584 Views)

Hi LaRisa,

No, I originally had the write and switched to the ReadWrite since that is what the DS Synch Write uses inside the Configure Range.vi (and deadband and attribute).  The module resets are not working either when the DS connection is opened and then written, so it seems like the problem may be in the datasocket layer.

Thanks,

Brian
Brian Gangloff
DataAct Incorporated
0 Kudos
Message 3 of 4
(6,555 Views)
I first tested your VI on a cFP-2120, which is what I happened to have sitting at my desk. The VI worked fine, even in the case where we pass a DS Refnum instead of the URL. However, when I tried it with a cFP-1808, the DS Refnum doesn't reset the 1808. Of course, if you wire the URL string to the DS Write input instead, it works fine. If it makes sense in your application you can still use DS Open Reference and pass the DS Refnum to the DS Close Reference, but the DS Write seems to need a URL string for input. You may have found a bug. I'm going to see what R&D thinks.
Product Support Engineer
National Instruments
0 Kudos
Message 4 of 4
(6,544 Views)