Unable To Use Gethistory Function


Recommended Posts

Hello,

I am currently having trouble using the get history function. Every time I try to call the function nothing happens. No alarms, nothing. The syntax that I am using is the following:


DAQ_Server.gethistory("ChannelA",0,1000)
[/CODE]

I really need this to work. It is unfeasible for me to set up a sql server at the moment. Thanks

Lexington

Link to comment
Share on other sites

There may be an issue with GetHistory in the current public release. You can go to www.azeotech.com/greg/daqfactory.exe for the latest build that has this resolved. Note that this is an executable download, not an installer, so you will want to put it in your DAQFactory folder overtop of the existing. I've also attached a sample showing it working. Load the sample, wait a few seconds for some data to accumulate, then create a new connection, entering the IP of your computer. This will essentially create a connection to itself. You'll see that the history for the remote is smaller than the history for the local. Click on Get History and the row count will become the same.

remoteSample.ctl

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.