receiving data from local serial port via Terminal Server

adyturn
Member Posts: 11
Hi.
We have previously integrated a scale into NAV 4 SP3.
This was used to read data from the scale that was connected to the local PC's COM port when a certain event was triggered.
We used the NFcomm.ocx to achieve this.
This worked perfectly when the NAV client was run locally on the PC.
The customer now needs to move the database to a remote server and the users now have to access NAV via a Teminal server.
We have mapped the ports via the RDP session and it appears as if the local COM1 is mapped to the RDP COM1.
the problem now arises that when we attempt to read the data from the scale, it fails.
hope someone can give me an idea of what to try. ](*,)
We have previously integrated a scale into NAV 4 SP3.
This was used to read data from the scale that was connected to the local PC's COM port when a certain event was triggered.
We used the NFcomm.ocx to achieve this.
This worked perfectly when the NAV client was run locally on the PC.
The customer now needs to move the database to a remote server and the users now have to access NAV via a Teminal server.
We have mapped the ports via the RDP session and it appears as if the local COM1 is mapped to the RDP COM1.
the problem now arises that when we attempt to read the data from the scale, it fails.
hope someone can give me an idea of what to try. ](*,)
0
Comments
-
The automations are not working with RDP and the virtual COM ports... you need to use different way. Which functions you are using? Right today I created some ActiveX using .NET SerialPort class which should work with RDP (not tested yet), but right now it have only basic functionality (open/send/receive/close)....0
-
Thanks for the reply, all we are using are the basic functions - open port, receive data, close port.0
-
Synchronous or asynchronous? Do you need to have the event when data are available or NAV is periodically checking the input?0
-
NAV will check the input based on the user.
The scale will only send information when there is something on it, and the user will press a button on a form (in NAV) to initiate the communication.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions