All Activity

This stream auto-updates     

  1. Last week
  2. zpayne01

    Daily Crashes

    Sounds good. I will try updating to the latest release and e-mail you the document. I am using the built-in performance monitor to log CPU and ram usage but I haven't seen any issues. I also tried running CPU and RAM intensive applications alongside to see if they would crash as well and they did not, so I would say the issue is related to DAQfactory (or my script) itself and not hardware limitations of the computer; as I say that though I did read a similar issue related to graphing and the GPU so I may test that. Thank you for responding.
  3. Thanks I will try that. Maybe with Ethernet to Modbus 232 converter with a 232 adaptor added to PLC
  4. LabJackSupport

    addressing LJ-TickDACs on a T7 Labjack

    Our DAQFactory for LJM page is chock full of nuggets so I would go through it thouroughly, and take a good look at the LJM_Basic.ctl example that demonstrates many key things. Per AzeoTech's point about using a DF Channel you can find info here: http://labjack.com/support/software/examples/ljm/daqfactory#LinkingChannels Per AzeoTech's point about DF taking care of Handle, the following hints at that: http://labjack.com/support/software/examples/ljm/daqfactory#Opening ... and then does not seem to be clearly stated, but you can see the example script is passing an LJM identifier as the first parameter: http://labjack.com/support/software/examples/ljm/daqfactory#Script
  5. JatCosta

    MACRO

    add the macro to sub Workbook_Open() event and excel will execute your macro whenever the Workbook is opened by DaqFactory.
  6. It is in 17.9 of the DAQFactory User's Guide, but basically the T series stuff has a name for just about every parameter and in DAQFactory you can specify the name and the value in channels, so you don't really have to use script (though you can). The common names are actual I/O types, while uncommon ones can be accessed using the "Special" I/O type and the Quick Note column.
  7. Thanks, that was easy! Can you tell me where that's spelled out in the help files or online? I feel like I'm overlooking something somewhere.
  8. I would look to connect to it over Modbus instead. I believe you can enable Modbus using their configuration software.
  9. With the T7, you should just be able to create a channel with the TDAC I/O type, the desired TDAC # in Channel # (i.e. 1 for TDAC1), and treat it like any other analog output channel in DAQFactory (i.e. Timing = 0). Note that when scripting for the T7 (or UD devices for that matter), DAQFactory takes care of the Handle. You always specify the id instead.
  10. AzeoTech

    Daily Crashes

    I would start by updating to the latest release. From the look of it you are running 16.3. I would also watch task manager and make sure there are no memory issues, i.e. DAQFactory's memory usage isn't steadily climbing. If you want to email us your doc, we can take a quick look to make sure there is nothing obviously wrong in script.
  11. zpayne01

    Daily Crashes

    Hello all, I have been having near-daily crashes on my DAQfactory program that I use to run some pretty sensitive instrumentation. The problem started about 2-3 months ago after I hooked up the computer to the internet (it usually runs offline to prevent such conflicts). Since that moment, crashes have gone from bi-weekly, to weekly, to now daily. Restarting the computer may provide 2-3 days of reprieve but it is no guarantee. I have updated windows and updated DAQfactory but I am at a loss. Below is the event log. If anyone can help me figure this out you would be doing me, and my lab, a great favor. Thank you! Log Name: Application Source: Application Error Date: 1/20/2020 8:31:08 PM Event ID: 1000 Task Category: (100) Level: Error Keywords: Classic User: N/A Computer: WINDOWS-UGALCI7 Description: Faulting application name: DAQFactory.exe, version: 16.3.2297.0, time stamp: 0x57d108c3 Faulting module name: DAQFactory.exe, version: 16.3.2297.0, time stamp: 0x57d108c3 Exception code: 0xc0000005 Fault offset: 0x0027aaca Faulting process id: 0xcb4 Faulting application start time: 0x01d5cfb446ebc732 Faulting application path: C:\DAQFactory\DAQFactory.exe Faulting module path: C:\DAQFactory\DAQFactory.exe Report Id: b25e8b6d-3bed-11ea-8e9d-000bab95945c Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application Error" /> <EventID Qualifiers="0">1000</EventID> <Level>2</Level> <Task>100</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2020-01-21T01:31:08.000000000Z" /> <EventRecordID>26589</EventRecordID> <Channel>Application</Channel> <Computer>WINDOWS-UGALCI7</Computer> <Security /> </System> <EventData> <Data>DAQFactory.exe</Data> <Data>16.3.2297.0</Data> <Data>57d108c3</Data> <Data>DAQFactory.exe</Data> <Data>16.3.2297.0</Data> <Data>57d108c3</Data> <Data>c0000005</Data> <Data>0027aaca</Data> <Data>cb4</Data> <Data>01d5cfb446ebc732</Data> <Data>C:\DAQFactory\DAQFactory.exe</Data> <Data>C:\DAQFactory\DAQFactory.exe</Data> <Data>b25e8b6d-3bed-11ea-8e9d-000bab95945c</Data> </EventData> </Event>
  12. I am missing a key step in setting DAC outputs using two LJTick-DACs on a T7 Labjack. I have a sequence that executes the following code (copied from https://labjack.com/support/datasheets/accessories/ljtick-dac) err = LJM_eWriteName(handle, "TDAC0", 1.0) err = LJM_eWriteName(handle, "TDAC1", 2.0) err = LJM_eWriteName(handle, "TDAC2", 3.0) which is intended to set DACA to 1 volt and DACB to 2 volts for a LJTick-DAC connected to the FIO0/FIO1 terminal block of a T7 Labjack, and set DACA to 3 volts for a second LJTick-DAC connected to the FIO2/FIO3 terminal block on the same T7. What am I missing? Thanks in advance - much obliged
  13. Hi I am new to DAQfactory. My first project is to collect some register values from a Mitsubishi FX3GE via Ethernet. Ethernet connection from PC to PLC is working fine but I can,t get DAQFactory to work using FX Protocol Has anyone got any advice please
  14. Earlier
  15. OnMouseMove does not function in popups.
  16. AzeoTech

    Help logging a sequence of strings

    It worked fine for me when I changed the channels to Test channels. One thing to note, while the logging set is running, DAQFactory keeps the file open. Because of the way Windows caches to disk, it can appear that the file is getting no data until Windows writes the cache to disk. If you quit DAQFactory, or change the logging file name, the file is closed and then the data logged can be viewed. I also would not use Auto-Split files. This is a largely deprecated feature. If you want to split your files, put date specifiers in your file name. So for example: D:\DAQFactory\TestData_%y%m%d_%H.DAT This would create a new file every hour.
  17. OnMouseMove function I put script "global Row4 = loc[0][1]" Row4 is change on pages. but when I open popup it is not changing. Also when popup is open, outside the popup page it is working. but I need to X and Y on popup.
  18. It should work in the popup as well.
  19. kanber

    Report Creation

    Hi, I am using version 18.1 Build 2347. Is there still characters problem for ş,ç etc. I have problem with convert to pdf file a table with a lot of pages. I need to use pdfAddPage function. But on pdf is is not chowing ş,ç etc characters. I should do that for take report from system.
  20. this function working on pages. I need to do on popup. How can I do?
  21. SELECT CONVERT(varchar(100),name) as name22 FROM sys.Tables solved my problem. thank you.
  22. JBower

    Help logging a sequence of strings

    Thanks for the response! Attaching our test .CTL file we've been playing with. Here are a few things we've tried since the initial post, none of which have resolved the problem: Storing the log file to different drives and directories, different naming conventions, running DAQFactory as Admin. Appreciate you taking a look! AMSP_Sprinter.ctl
  23. AzeoTech

    DLL problem

    DAQFactory only has two variable types, numbers and strings. It uses the declaration you provide in extern() to convert to the appropriate C data type before calling the external function. This is done internally and you do not need to worry about it. DAQFactory will complain, however, when you try and pass a regular variable to a parameter that is expecting a pointer, or vice-versa.
  24. AzeoTech

    ODBC-Sql Server String Value problem

    I believe NVarChar is for unicode. DAQFactory isn't compiled for unicode, and so even if you could read this field type, it wouldn't look right. Do a search on the web for converting NVARCHAR to VARCHAR inside a query (SELECT). For example, I quickly found a database forum that shows a CONVERT() function, as well as a CAST() function. I have not used these, but they, especially the cast() look quite promising.
  25. AzeoTech

    Help logging a sequence of strings

    It could be a number of things. Any chance you could post or email us your ctl doc so I can see how you have things setup?
  26. AzeoTech

    Can DF using .lib extension file

    No, by definition a static library is compiled into a program, while a shared library can be accessed by an existing, already compiled program like DAQFactory. If you only have a .lib file available, you would have to compile that into a DLL. This should be relatively easy with just a little wrapper code.
  27. I'm wondering if DF can call a static library (.lib) just like share library (.dll)
  1. Load more activity