Jump to content

PhilipK

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Switzerland

LabVIEW Information

  • Version
    LabVIEW 2016
  • Since
    2012

PhilipK's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Yes that was the issue. I changed my testing VI so it didn't go into idle and now it works as intended. Thank you very much for your help
  2. I'm having some issues with a LabVIEW driver I'm writing for a Mensor CPC 6000 pressure controller. Issue I open the TCP Connection using the LV "TCP Open Connection" VI, and can then successfully read various values from the Mensor, such as "id", "gasDensity", etc., using the "TCP Write" and "TCP Read" VIs wired with the connectionID refnum. I save the connectionID in a shift register and want to use this connectionID to write and read values the next time the VI is executed, however as soon as I perform a "statusUpdate", "TCP Write" returns Error Code 1. Tests already performed I've confirmed that I'm not accidentally closing the reference in LabVIEW. I've confirmed that the connectionID is saved correctly in the shift register (by casting it to type U32 and comparing outputs and inputs after each execution) If I open a new connection and immediately perform my "statusUpdate" the expected values are returned possible cause? is LabVIEW or Windows automatically performing some clean-up in the background leading to an invalid reference, or is something with my hardware setup funky? Setup: Hardware setup: PC running Windows 8 and LV2016, directly connected to Mensor CPC 6000 using a crosswired ethernet cable. Mensor IP Config: Address, 172.18.149.201, Subnet Mask: 255.0.0.0, Port: 6000 PC IP Config: IP Address, 172.18.149.1, Subnet Mask: 255.0.0.0, Default Gateway 172.18.149.1 The driver is a simple affair (see attached VI snippet for the VI which reads strings from the Mensor) Any help would be appreciated!
×
×
  • Create New...

Important Information

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