edh

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by edh

  1. We need to run some commands that include " within the command. For example, using this command to disable the system screensaver in the registry: reg delete "HKEY_CURRENT_USER\Control Panel\Desktop" /v scrnsave.exe /f The trouble is that the Windows registry has spaces in some of it's paths, despite going to the effort of replacing spaces with underscores in HKEY_CURRENT_USER. To get around the spaces you have to use " within the command but if you use these commands within ShellExecute() it will fail as the extra speech marks will interfere with the command being parsed. Therefore, my question is, can you replace " with some kind of control character within a ShellExecute command? Or is there another way of doing this? Would the command be loaded into a variable and then parsed somehow?
  2. Hi, We have used the comm monitor to troubleshoot some connection issues but it is limited in that we can only really see and capture a small amount of data at a time as we are streaming a lot of data through it. What we really need to be able to do is log down raw serial data over many days to be able to prove and debug our application in long term testing before we can release it. This can't be a unique requirement so does anyone have any experience in doing this? I was really considering three potential routes: 1. Does DAQFactory have some kind of built in debugging mode that logs all raw data? 2. Can we code a sequence to do this? 3. Use a 3rd party utility. I have tried a few that suggest they can be used for serial port sniffing and can't get any to work as expected but perhaps someone has some ideas of something known to work.
  3. Thanks. I might give the Pi a miss if emulation slows things down as you suggest. Will look at some kind of x86 SBC. I notice a few have Arduino's on board which does interest me.
  4. Hi, We have been using DAQFactory within our company for around 10 years to develop control software for our products. I'm currently looking at new hardware platforms and one thing that keeps coming up is that Raspberry Pi would be great for us as it would be cheap, small and easy to install within an industrial system. Windows 10IoT is now available for Raspberry, it includes x86 emulation so should be able to run x86 Windows 10 binaries. Has anyone got any experience in trying DAQFactory under such an environment?