Jump to content

viSci

Members
  • Content Count

    428
  • Joined

  • Last visited

  • Days Won

    15

viSci last won the day on July 2

viSci had the most liked content!

Community Reputation

37

About viSci

  • Rank
    Extremely Active

Profile Information

  • Gender
    Not Telling

Contact Methods

LabVIEW Information

  • Version
    LabVIEW 2013
  • Since
    1998

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Yes it appears to get hosed up inside the TCP Listener Actor. The funny thing is that I can compile an exe and run on my cRIO just fine, it is only via the IDE that there is a problem. This has been working with LV 2018 for many months without issue so it appears something has changed in LV2019.
  2. Since upgrading to LV 2019 I am seeing issues with an existing application running on a Linux based cRIO. The deployment process itself seems to be much slower and this initial section of code is causing the cRIO to disconnect from the development system. When the execution gets to the TCPEventMessenger Create subvi I get this popup and execution is aborted. Any thoughts?
  3. Just in case someone else stumbles across this problem... It turns out the the cRIO-9056 has TSN capability built in so it will automatically try to slave the AI sample clock to a 1588 master if one is present on the network. In my case the master clock is not disciplined which wrecks havoc on the AI HW timing as it is only software based for the purpose of syncing the cRIO to the PC's clock for uniform relative accuracy. The solution to the is to use an obscure DAQmx property as follows... Add a DAQmx Channel Property Node to the task, select the General Properties >> Synchronization Unlock Behavior property and set it to Ignore Lost Sync Lock.
  4. At my wits end with this... When 1588 timesync is running it appear to interfere with DAQmx AI timed tasks. I am seeing strange errors -200284 (buffer underrun) or -209836 (The devices in your task cannot be synchronized) when I start my DAQmx task with 1588 engaged. When I disable the 1553 master on my network or remove the 1588 driver from the cRIO everything works correctly. To simplify testing I am using a DAQmx example - Thermocouple - Continuous Input.vi to do my testing. I do not have any HW sync modules just plain C series AI modules so there should be no attempt to perform any AI clock slaving since this is a software only 1588 system. BTW I am using the latest 19.0 drivers and LV Dev. I also see the same behavior in 18.5. Your thoughts please...
  5. Curious to know more about the performance issues you were seeing with DAQmx on the cRIO. I would think it should be fairly high performance.
  6. along time ago I ran across an interesting paper by Monnie. https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=664322 I used some of his ideas as the basis for this... http://viscience.com/blog/portfolio-3/
  7. BTW, which websocket library would you recommend for command-reply use cases on a Linux RT target?
  8. What about the port service name locator, could that be a problem as well? I was planning on using RTI DDS for all network communications but the LabVIEW wrappers provided by RTI and now included in LV2018 have some shortcomings. Things like no native support for command-reply, no events and issues with strings within a cluster that start with a numeric digit pushed me to consider Messenger...
  9. I am using cDAQ's with Linux RT but I suppose I could still use websockets, right? In the meantime I am trying out on-the-fly creation of Messenger remote connections to my cDAQs. It is not very fast ~50ms total transaction time per cDAQ but it might do since the command response side of things is more supervisory control of the overall system. For status and data collection I am using RTI-DDS which is blazing fast. One concern I am having with Messenger is that on occasion I have seen the 50ms transaction times suddenly increase to 5000ms. Shooting in the dark, I am wondering if it could have something to do with NI Service Locator sync between client and servers? Anyway, it would be nice if the messenger library had the option of specifying static port numbers instead of service names.
  10. I also need something that can handle situations where the cDAQ is not present or drops out and needs to be reconnected with. I think I maybe trying to use the wrong tool for this application. I might be better off with a topic based DDS that has inherent reconnect capability.
  11. Hello all - I am trying to figure out a way to use the TCP Messenger to create a PC client that can send messages to up to 52 remote cDAQs. I used your simple TCP Client Server example to start off with and it works fine for a single cDAQ server. The problem is that I do not want to have to launch 52 actors in my client code pointing to each of the 52 cDAQ IP addresses. Is there a way to just send simple messages to the server without have to launch an actor or perhaps reuse an actor by programmatically pointing to the IP address I need to talk to at any given time?
  12. viSci

    clfn scripting

    I use the dll wizard often and it has saved me a lot of time. It took awhile to understand how to massage the .h files into something digestible but once I got the hang of it, it was worth the effort. The error handling is pretty good at pointing you to the offending spot in the .h file. I think that the wizard has improved over time so if your last exposure was years ago I would give it another try.
  13. Thanks - I was able to use your suggestion to get the current cursor position and it worked correctly. I was able to construct and insert a proper table in an open word document.
  14. I would like to obtain a .net reference to an open word document and add a table at the current cursor location in the document. I can already do this using a crude automated copy and paste method but would like to be able to add a proper word table into the document. Using the .net interfaces I think this is possible but so far have not been able to get it to work. Has anyone tried to do this before?
  15. Hey Neil - I am in the process of designing a 50 node (RT Linux) system with around 100 tags per node. I was briefly thinking about using NSV's or RTI-DDS but now am thinking that OPC-UA would be a better solution for publishing tag values. Do you have any performance metrics like tag updates /s for your implementation?. I have seen some pretty nice OPC UA Client Viewers that function like the NI DSM but would prefer a native LV viewer. Would you consider offering your OPC UA Viewer and Data logger as a toolkit?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.