Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - roberto

Pages: 1 ... 37 38 [39] 40 41 ... 56
571
Applications / Re: Can I use a usb port as a com-port?
« on: March 25, 2017, 01:21:13 pm »
the problem of the two errors that sometimes occur in the starting of the plate
In the relays.cmd file, I change this two lines and now is work 100% ok.
from this rc = RxUsbCtrlMessage(Handle,RequestType,Request,Value,Index,1,Data,100);
to rc = RxUsbCtrlMessage(Handle,RequestType,Request,Value,Index,1,Data,1000);
and in
from rc = RxUsbCtrlMessage(Handle,RequestType,Request,Value,Index,NumBytes,,100);
to rc = RxUsbCtrlMessage(Handle,RequestType,Request,Value,Index,NumBytes,,1000);
The power supply has no influence at all. The important thing is to disconnect it (from the power supply, like the usb) before starting the usbrelays.cmd
Saludos

572
Multimedia / USB 10.216 and youtube videos
« on: March 24, 2017, 11:31:07 pm »
I recently installed this version of USB 10.216. And the problem with the videos persisted, I have to press the on-off wifi to continue watching the videos.
But if I kill the process u: \ os2 \ usbmon.exe and boot the firefox works perfect.
In my opinion this program interferes with the driver.
Saludos

573
Applications / Re: Can I use a usb port as a com-port?
« on: March 22, 2017, 08:51:03 pm »
Roberto did not use an external power supply at that time. May be we did not try hard enough with slight modifications of my original script to get it working.
I wanted to clarify, the problem of the two errors that sometimes occur in the starting of the plate.If I keep the circuit with current, I get the feeling that something is not reset, because with current if it does not start the first there is no way to start it.And since I'm a bit of a bitch, I do not want to get up and unplug it. What I do is remove the power-source, and only with the usb, it is easier to unplug and ready.I also need to prove with a source of more quality, in case it may or may not affect it.

Quote
what happens uInder windows.

I only tried it twice, the first one worked but it was bad (the reles did not act as expected, but they moved), and the second time could not find the device.

In os / 2 this is working fine, but always after receiving the AC command, which is where in the boot sometimes gives errors x280 and x80 ..
Saludos

574
Applications / Re: Can I use a usb port as a com-port?
« on: March 22, 2017, 08:15:53 pm »
from file "pl2303.c" but maybe the vendor specific Setup is not working correctly yet.
I read about this chip this can be the problem?:
Warning Notice:
Please be warned that counterfeit (fake) PL-2303HX (Chip Rev A) USB to Serial Controller ICs using Prolific's trademark logo, brandname, and device drivers, were being sold in the China market. Counterfeit IC products show exactly the same outside chip markings but generally are of poor quality and causes Windows driver compatibility issues (Yellow Mark Error Code 10 in Device Manager). We issue this warning to all our customers and consumers to avoid confusion and false purchase.
The web site of Prolific Tech:
http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41

575
Applications / Re: Can I use a usb port as a com-port?
« on: March 22, 2017, 01:58:47 pm »
It appears that it does need an external power supply because on startup it pulls more power than a standard USB port can supply.
Yes, you are right, so in the example I have only put the activation one by one to not overload the computer. Now I have to find an old power supply from a pc, to couple it. Like the ones that a lot of people use for arduinos and rasperripy. But in this case I will put my old laptop.
If you look, the relay plates of one or two relays, do not have the option of external power supply. I understand it's because they do not need it.
Saludos

576
Applications / Re: Can I use a usb port as a com-port?
« on: March 21, 2017, 09:58:08 pm »
Well, I can say, thank you.
Finally I gave a termination to your explanations, which have been very didactic for me.
I have left it so that only one relay can be pressed one by one.
For two reasons, do not overload the pc (being without power supply), and because it is more practical to verify that each relay works on OS / 2.

577
Applications / Re: Can I use a usb port as a com-port?
« on: March 21, 2017, 09:19:38 am »
There is obviously some timing issue. You might try and test with sending only 1 data byte with RxUsbBulkWrite.
I could not see any improvement by modifying this value.
But if I improve disconnecting the power to the plate, restoring the laptop, and connecting the usb after restoration worked well. I even added it's rest of code and moved the relays.
It may be that the power supply is not stabilized, and this circuit requires more precision in the voltage.
I have another problem with this laptop, and I have to wait for 16 minutes to 20 minutes, to restart it. If I do not do this, the OS / 2 turns off the laptop. This happens to me with any of the OS / 2 partitions, but not if I boot w10.
The only doubt I have is the numbering of relays. And the possible combination of starting two or more relays at the same time.

578
Applications / Re: Can I use a usb port as a com-port?
« on: March 20, 2017, 05:12:05 pm »
You are a phenomenon !!!!,
Anyway I comment:
The first time I ran it on the screen gave me this error
*RxUsbBulkRead(),RC=0x8050
The second time I run it but send to file, and give me error:
**RxUsbBulkRead(),RC=0x280

After this I unplug and plug the usb and give me this error:
*RxUsbBulkRead(),RC=0x0
 Data: AC
But only run well if I send to file, similar a urwin.cmd >mifile.txt

Now is nice.
Saludos

579
Applications / Re: Can I use a usb port as a com-port?
« on: March 19, 2017, 02:58:27 pm »
I think that this file can help you, is the result from usbwrite.cmd, I attach.
I do not undertand endpoint=128+3
And *RxUsbBulkRead(),RC=0x280
the x280 when I wait for AC
By now is nice.

580
Applications / Re: Can I use a usb port as a com-port?
« on: March 19, 2017, 01:17:10 pm »
[d:\usbreles]urwim2
+UsbLoadFuncs(),RC=0x0
*UsbLoadFuncs(),RC=0x0
-UsbLoadFuncs(),RC=0x0
*RxUsbOpen(),RC=0x0
*RxUsbDeviceSetConfiguration(),RC=0x0
*RxUsbCtrlMessage(),RC=0x0
 BaudRate: 9600
 StopBits: 0
 ParyType: 0
 DataBits: 8
*RxUsbCtrlMessage(),RC=0x0
 BaudRate: 9600
 StopBits: 0
 ParyType: 0
 DataBits: 8
*RxUsbCtrlMessage(),RC=0x0
*RxUsbBulkWrite(),RC=0x0
*RxUsbBulkRead(),RC=0x280
*RxUsbClose(),RC=0x0
+UsbDropFuncs(),RC=0x0
*UsbDropFuncs(),RC=0x0
-UsbDropFuncs(),RC=0x0


581
Applications / Re: Can I use a usb port as a com-port?
« on: March 18, 2017, 11:30:41 pm »
The return:
[d:\usbreles]urwim.cmd
+UsbLoadFuncs(),RC=0x0
*UsbLoadFuncs(),RC=0x0
-UsbLoadFuncs(),RC=0x0
*RxUsbOpen(),RC=0x0
*RxUsbDeviceSetConfiguration(),RC=0x0
*RxUsbCtrlMessage(),RC=0x0
 BaudRate: 00002580
 StopBits: 00
 ParyType: 00
 DataBits: 00
*RxUsbCtrlMessage(),RC=0x0
 BaudRate: 9600
 StopBits: 0
 ParyType: 0
 DataBits: 8
*RxUsbClose(),RC=0x0
+UsbDropFuncs(),RC=0x0
*UsbDropFuncs(),RC=0x0
-UsbDropFuncs(),RC=0x0
End return ----------
I have doubts, if I should include this line, because the pcboard says to speak English (usbtest.cmd), and I have the default system in code page 850.
 /* load all RexxUtil functions */
Call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
Call SysLoadFuncs
rc=SysSetProcessCodePage(437)

Saludos

582
Applications / Re: Can I use a usb port as a com-port?
« on: March 18, 2017, 01:46:55 pm »
Quote
  All said with a big smile.
Finally someone with a little humor! It is also good to laugh. jajaja

Dave, I can wait for the new Arcanoae version.
Saludos

583
Applications / Re: Can I use a usb port as a com-port?
« on: March 16, 2017, 11:00:47 pm »
Ivan , Thanks for the file. After donwload your file, the link works well.
With this driver:usbcom-20110818.zip
[D:\usbreles]mode com8
SYS0021: The drive is not ready.

[D:\usbreles]MODE COM8:110,N,8,1,TO=ON
SYS0020: The system cannot find the device specified.
NOTREADY:20 Device driver COM8 currently in use. Please try later.

After that I modifi config.sys to default usbcom.sys /V
And show COM1 in charge, but the same error in com1
The power supply is on and with voltage in all tests.
Saludos

584
Applications / Re: Can I use a usb port as a com-port?
« on: March 16, 2017, 06:11:30 pm »
There are 3 things that you could do:
1. Try the valerius usbcom.sys driver.
The link is dead.
Quote
2. Try the following MODE command:
COM8,,N,8,1
Unknown command "COM8"

MODE COM8,,N,8,1
SYS0700: The baud rate 300 is not supported by the serial port hardware.

At this point I can think of other possible solutions:
1- Open-close the port with rxusbcalls, and send the commands.The usbcalls work well.
2- Buy a USB cable to rs232, and connect it with two cables to the board. As David proposes. But it is possible that the converter cable has another 2303.
3- Use it as paperweights, hahaha.
I appreciate your opinion.
Saludos

Saludos

585
Storage / Re: Someone has seen this before os2.ini
« on: March 16, 2017, 11:39:46 am »
Well I have a pc with 6gb boot, and used in the tree view appear 5gb., I copy a folder of 1gb, and shows me 4gb. It's a counter problem. Everything works well.

Pages: 1 ... 37 38 [39] 40 41 ... 56