07-13-2010, 01:30 PM
I would like to make a stand alone app using vb.net. I would like to use the Nc functions describe in the “Nc Functions Manual” manual. However, I can not find a way to this. Is it possible?
nc functions
|
07-13-2010, 01:30 PM
I would like to make a stand alone app using vb.net. I would like to use the Nc functions describe in the “Nc Functions Manual” manual. However, I can not find a way to this. Is it possible?
07-14-2010, 09:24 AM
This would not be possible. The NC functions are VBA controls that can only be used in the PHMI application.
(07-13-2010, 01:30 PM)JohnNemt Wrote: I would like to make a stand alone app using vb.net. I would like to use the Nc functions describe in the “Nc Functions Manual” manual. However, I can not find a way to this. Is it possible?
07-14-2010, 09:33 AM
Tankyou.
07-21-2010, 10:32 AM
(07-13-2010, 01:30 PM)JohnNemt Wrote: I would like to make a stand alone app using vb.net. I would like to use the Nc functions describe in the “Nc Functions Manual” manual. However, I can not find a way to this. Is it possible? I have only needed to use a couple of calls to NC internals. Here are some VB6 code fragments that may help. ' declaring the interface for new PComServer and NC: Public pmac1 As New PCOMMSERVERLib.PmacDevice Public pmacNC As New PCOMMSERVERLib.pmacNC Public Const dwDevice As Long = 0 Public Sub init_PMAC pmac1.Open dwDevice, bSuccess ' i did not need an explicit call to open pmacNC ret Normal PcomServer calls are of the form: Call pmac1.GetResponseEx( dwDevice, strCommand, False, strTemp, lngStatus) NC calls are of the form: Call pmacNC.SetTypeToolOffset(control, coord, ToolNum, "R", NC_TOOLOFSTYPE_CUTTERCOMPENSATION, IsMetric, ReqConfirm, dblRadius, pbSuccess) |
« Next Oldest | Next Newest »
|